5 replies
by alpha-male
This depends somewhat on your system/OS/firewall. Still, this should help some. I found numerous references to this and some of the inherent difficulties of it...
Yahoo has coded their messenger to be difficult to block. There is no *standard port* that this software runs on (though 37 and 5050 seem most common). It can even switch to connect to a server on the standard telnet port(23) which is frequently not blocked.
Blocking Yahoo Messenger with IPChains:
ipchains -A input -b -d cs.yahoo.com -j DENY
ipchains -A input -b -d scsa.yahoo.com -j DENY
Blocking Yahoo Messenger with IPTables:
iptables -A FORWARD -d cs.yahoo.com -j REJECT
iptables -A FORWARD -b scsa.yahoo.com -j REJECT
Yahoo has their servers seperated out across various IPs, and you can't just do a range block. You need to block the servers by DNS address.
Hope this helps!
by alan.baral
by mdmonte
Babara,
Without any understanding of your infrastructure I can only offer the following two possible guides:
Router:
If you have a router you could think about about settings some policies such as follows:
permit ip any 216.136.226.0 0.0.0.255 log
permit ip any 216.136.232.0 0.0.0.255 log
permit ip any 216.136.233.0 0.0.0.255 log
permit ip any 66.163.168.0 0.0.0.255 log
permit ip any 66.163.172.0 0.0.0.255 log
These five lines block Yahoo Messenger, based on blocking traffic to the IP C-class ranges used by chat.yahoo.com.
Note that you can't block ports as Yahoo Chat will just dynamically transact over another available port.
hope that this helps,
Mike D
by alan.baral
by alan.baral
This discussion is closed to new replies.
Trending Security posts
Sort by Trending