Koozali.org: home of the SME Server

HOW BLOCK MSN MESSENGER TRAFFIC

Ulises Ruiz

HOW BLOCK MSN MESSENGER TRAFFIC
« on: July 02, 2002, 07:35:27 AM »
Hello, to everybody, i need to block the MSN Messenger traffic across the gateway, i have a E-Smith v5.1.2, thanks.

Barquisimeto, Vzla.

Luis A. Navas

Re: HOW BLOCK MSN MESSENGER TRAFFIC
« Reply #1 on: July 25, 2002, 06:21:35 AM »
Alguien ya publico eso:

Author: Nathan Fowler (evilghost_AT_stickit.nu)
Date:   07-17-02 16:46

/sbin/ipchains -A input --source --destination 64.4.12.31/24 -j DENY

BillNe, be weary, MSN will port hop until it finds an open port, it isn't limited to a specific port.

Yes, MSN messenger talks to hotmail.com, more specifically:
msgr-csX.msgr.hotmail.com where X is a number.

Name: msgr-cs1.msgr.hotmail.com
Address: 64.4.12.30

Name: msgr-cs2.msgr.hotmail.com
Address: 64.4.12.31

I think that should do what you want. You could always add it to /etc/rc.d/rc.local if you don't want to template it. If you really want to get advanced I recommend reading the Ipchains How-To, there are a plethora of options available.

Hope this helped,
Nathan

Espero que te sirva.