Well ... I read about iptables+squid to block msn+yahoo+radios .... I can do it with iptables with 2 rules:
/sbin/iptables -A INPUT -p TCP -s $filter -j DROP
/sbin/iptables -A INPUT -p UDP -s $filter -j DROP
where $filter is a list of servers to block.
With this I found that iptables doesnt block some domains ....
I try with squid doing :
acl intra src 192.168.1.0/255.255.255.0
acl msn req_mime_type ^application/x-msn-messenger
acl MSN-MESSENGER dst "sfilterip"
acl msnd dstdomain .webmessenger.msn.com
acl msnd dstdomain *.iloveim.com
acl listamsn dstdomain "/etc/squid/sfilter"
acl yahoo dstdomain pager.yahoo.com
acl yahoo dstdomain shttp.msg.yahoo.com
acl yahoo dstdomain update.messenger.yahoo.com
acl yahoo dstdomain update.pager.yahoo.com
http_access deny intra msn
http_access allow intra
http_access deny intra MSN-MESSENGER
http_access deny msnd
http_access deny intra listamsn
http_access allow localhost
http_access deny yahoo
http_access allow all
And nothing ...
so ... I want to see if I can block it but not block to me
any advice ?