RE: block yahoo messenger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> hi all,
> does anyone have an idea about blocking "yahoo messenger" 
> using iptables? thanks afshin

Maybe it's quite rude to block 4 /24 nets, but Messenger kept connecting
in these ranges and on different ports (5050, 23, 80) so I just did this
:

iptables -A FORWARD -d 216.136.223.0/24 -j REJECT --reject-with
tcp-reset
iptables -A FORWARD -d 216.136.224.0/24 -j REJECT --reject-with
tcp-reset
iptables -A FORWARD -d 216.136.227.0/24 -j REJECT --reject-with
tcp-reset
iptables -A FORWARD -d 216.136.233.0/24 -j REJECT --reject-with
tcp-reset

Of course you are welcome to find out exactly what servers Messenger
using to block them individually ; I didn't take the time to do that.


Gr,
Rob



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux