Tuesday, September 11, 2012

Blocking videos with rep_mime_type video/x-flv

1 comments
We are going to block this file.The configuration file is : acl LOCALNETWORK src 192.168.0.0/24acl FORBIDDEN_DESTINATION dstdomain "/etc/squid/restrictdomains.txt"acl FORBIDDEN_VIDEO rep_mime_type video/x-flv http_access deny FORBIDDEN_DESTINATIONhttp_reply_access deny FORBIDDEN_VIDEOhttp_access allow LOCALNETWORKhttp_port 3128 The difference with our previous configuration are : acl FORBIDDEN_VIDEO rep_mime_type video/x-flv....
Read more...

Friday, September 7, 2012

Set squid proxy server upload limit

0 comments
                Set squid proxy server upload limit ?Add the following line in the squid.conf filerequest_body_max_size 200 KBThis will set the upload limit to 200 k...
Read more...

Block skype on squid proxy server

3 comments
acl numeric_IPs url_regex -i ^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+) acl Skype_UA browser ^skype^ acl Skype_Allowed_Users proxy_auth user1 user2 http_access deny numeric_IPS !Skype_Allowed_Users http_access deny Skype_UA !Skype_Allowed_Users http_access allow ntlm_users http_access deny ...
Read more...