How to block utorrent by using Squid proxy (fedora 10 or RHEL5)

PROXYsquid

Can Any one suggest me that how to block the utorrent on my Lan (windows XP and Vista clients) by using Squid proxy (Fedora 10 or RHEL5). I am really got confused while trying to google for this.

Best Answer

Configure your firewall to default deny for all office traffic unless specifically allowed.

Require all Web traffic to route through your proxy.

If your users are unable to access the Internet directly, it will be substantially more difficult for them to use advanced protocols like BitTorrent.

While using SQUID acls will be substantially more limited in scope and be easily circumvented, you could use something like:

acl extensiondeny url_regex -i "/etc/squid/extensiondeny"
acl download method GET
http_access deny extensiondeny download
http_access deny extensiondeny

Within "/etc/squid/extensiondeny":

\.torrent$

For more information see:

http://www.squid-cache.org/Doc/config/acl/