Re: [squid-users] Blocking Yahoo Messenger

From: Andrew D <squid@dont-contact.us>
Date: Mon, 3 Nov 2003 19:30:13 +1030

Rinnaldy wrote:

> Dea All,
>
> How to block Yahoo messenger with squid ?? I already use iptables to
> block YM port but it is not working . with this line :
> -A INPUT -s 192.168.0.0/255.255.255.255 -d 0.0.0.0/0.0.0.0 -p tcp -m
> tcp --dport 5050 -j DROP
 
 That net mask should be 255.255.255.0 not 255.255.255.255
 Yahoo Messenger uses differnet ports to connect - 5050,25,37
 
 Also the ipblock that it currently (here in Aust anyways) connects to
is 66.163.169.0/255.255.255.0
you could use that in your iptables rules.
 
> in squid.conf I add this line :
> acl YM_port port 5050
> http_access deny YM_port
 squid by default should be blocking 25 and 37
 
 also in squid block http requests to
 *.msg.yahoo.com
 to stop them from using http proxies :)
>
> but users still can access YM ,pls advice what should I do with my
> squid and iptables ..
 
 Ive used it with success :)
 
 HTH
cya
Andrew
Received on Mon Nov 03 2003 - 02:00:12 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:03 MST