Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Block MSN with Squid
Name: Jeronimox Date: February 14, 2006 at 05:19:56 Pacific OS: Debian sarge 3.1 CPU/Ram: 800 MHz Product: clon
Comment:
Dear all, is it possible to block MSN sessions from my LAN's users using only a SQUID proxy connected to Internet ???
Name: 3Dave Date: February 14, 2006 at 07:02:35 Pacific
Reply:
You can block a few sites with squid by either adding them to squid.conf or creating another file containing a list of restricted sites.
Editing /etc/squid/squid.conf; add lines similar to the following: acl msn url_regex messenger.hotmail.com http_access deny msn That should deny all access to messenger.hotmail.com which is what MSN uses.
Creating an ACL list; create a file called /etc/squid/squid-block.acl and put in it what you want to deny access to, eg: messenger.hotmail.com .msn.com microsoft The above will deny access to messenger.hotmail.com, anything..msn.com and any URL with microsoft in it. Then in your squid.conf file: acl bad url_regex "/etc/squid/squid-block.acl" http_access deny bad NB If you start blocking sites with words like "sex" in them you may have to create another file of accepted URLs like www.middleSEXuniversity.edu.uk.
PS The above methods will only work if your users are using MSN through your proxy. If they are going straight out through a gateway you will have to use firewall rules instead.
Summary: Add in your configuration script the following lines: acl wormvirus dstdomain .opasoft.com http_access deny wormvirus note: virus.com in your configuration file will block virus.com only. .virus.com w...
Summary: hi friends, i have a small network with 10 systems. im using redhat linux 8.0 as my server. all the systems in the network have to get internet access.. so i done ipmasquerading for converting localip...
Summary: I have Windows machines with Linux as server with samba and squid configured How can i configure the things so that a particular group of users will be able to access msn , yahoo etc and others will n...