Skip to contentSkip to conversation

Filtering Yahoo Messenger Port

DISCUSSION Voltaire Pascual 4 participants 4 messages May 5, 2003

lore
Share & tools
lore
#0 lore raw

Hi there... got one newbie question here. Just wondering how can i block yahoo messenger port using IP tables in my box. Clients using YM is behind this box. YM is using all possible ports even port 80.

TIA
/Voltaire

#1 lore raw

just block all the connection to yahoo msg server:

scs-fooa.yahoo.com
scs-foob.yahoo.com
scs-fooc.yahoo.com
scs-food.yahoo.com
scs-fooe.yahoo.com
scs-foof.yahoo.com

that is the list I got so far, I am rejecting the connection to those servers after my DNS chain rules so when we put the servers name instead of ip address, it can resolve all the ip address to that server.

if you just want to block certain range of ip from the LAN, check the lates patch-o-matic for iptables.

http://www.netfilter.org/

regards.
JW

*********** REPLY SEPARATOR ***********

Quoted 6 lines · Voltaire Pascual

Hi there... got one newbie question here. Just wondering how can i block yahoo messenger port using IP tables in my box. Clients using YM is behind this box. YM is using all possible ports even port 80.

TIA
/Voltaire

#2 lore raw
In reply to Voltaire Pascual

try blocking a certain destination..

ie i use scs.yahoo.com to connect to yahoo messenger, there may be more out there, but just drop any packets that may be trying to goto that destination.

--- Voltaire Pascual <[email protected]>

Quoted 7 lines · wrote:

Hi there... got one newbie question here. Just wondering how can i block yahoo messenger port using IP tables in my box. Clients using YM is behind this box. YM is using all possible ports even port 80.

TIA
/Voltaire

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

#3 lore raw
In reply to Voltaire Pascual
Quoted 6 lines · Voltaire Pascual

Hi there... got one newbie question here. Just wondering how can i block yahoo messenger port using IP tables in my box. Clients using YM is behind this box. YM is using all possible ports even port 80.

TIA
/Voltaire

IIRC I collected this data from two different locations, honestly can't attribute proper credit now.

/sbin/iptables -A FORWARD -d 63.216.136.22     -j DROP
/sbin/iptables -A FORWARD -d 66.135.224.142    -j DROP
/sbin/iptables -A FORWARD -d 66.136.175.132    -j DROP
/sbin/iptables -A FORWARD -d 66.163.168.105    -j DROP
/sbin/iptables -A FORWARD -d 66.163.172.117    -j DROP
/sbin/iptables -A FORWARD -d 66.163.173.76     -j DROP
/sbin/iptables -A FORWARD -d 66.163.173.77     -j DROP
/sbin/iptables -A FORWARD -d 66.163.173.78     -j DROP
/sbin/iptables -A FORWARD -d 66.163.173.203    -j DROP
/sbin/iptables -A FORWARD -d 66.163.175.128    -j DROP
/sbin/iptables -A FORWARD -d 66.163.178.78     -j DROP
/sbin/iptables -A FORWARD -d 204.71.200.36     -j DROP
/sbin/iptables -A FORWARD -d 204.71.200.37     -j DROP
/sbin/iptables -A FORWARD -d 204.71.201.134    -j DROP
/sbin/iptables -A FORWARD -d 204.71.201.141    -j DROP
/sbin/iptables -A FORWARD -d 216.136.173.172   -j DROP
/sbin/iptables -A FORWARD -d 216.136.173.179   -j DROP
/sbin/iptables -A FORWARD -d 216.136.175.132   -j DROP
/sbin/iptables -A FORWARD -d 216.136.175.142   -j DROP
/sbin/iptables -A FORWARD -d 216.136.175.143   -j DROP
/sbin/iptables -A FORWARD -d 216.136.175.144   -j DROP
/sbin/iptables -A FORWARD -d 216.136.175.145   -j DROP
/sbin/iptables -A FORWARD -d 216.136.175.145   -j DROP
/sbin/iptables -A FORWARD -d 216.136.175.226   -j DROP
/sbin/iptables -A FORWARD -d 216.136.224.134   -j DROP
/sbin/iptables -A FORWARD -d 216.136.224.142   -j DROP
/sbin/iptables -A FORWARD -d 216.136.224.213   -j DROP
/sbin/iptables -A FORWARD -d 216.136.224.213   -j DROP
/sbin/iptables -A FORWARD -d 216.136.224.214   -j DROP
/sbin/iptables -A FORWARD -d 216.136.225.12    -j DROP
/sbin/iptables -A FORWARD -d 216.136.226.117   -j DROP
/sbin/iptables -A FORWARD -d 216.136.226.118   -j DROP
/sbin/iptables -A FORWARD -d 216.136.226.209   -j DROP
/sbin/iptables -A FORWARD -d 216.136.226.210   -j DROP
/sbin/iptables -A FORWARD -d 216.136.227.168   -j DROP
/sbin/iptables -A FORWARD -d 216.136.233.129   -j DROP
/sbin/iptables -A FORWARD -d 216.136.233.130   -j DROP
/sbin/iptables -A FORWARD -d 216.136.233.131   -j DROP
/sbin/iptables -A FORWARD -d 216.136.233.133   -j DROP
/sbin/iptables -A FORWARD -d 216.136.233.135   -j DROP
/sbin/iptables -A FORWARD -d 216.136.233.148   -j DROP
/sbin/iptables -A FORWARD -d 216.136.233.151   -j DROP
/sbin/iptables -A FORWARD -d 216.136.233.152   -j DROP

j