Skip to contentSkip to conversation

blocking msn

DISCUSSION Askar 4 participants 6 messages Dec 23, 2004 – Dec 24, 2004

lore
Share & tools
lore

Askar

author
#0 lore raw

hey here is quick question let suppose i drop MSN with the below rule

#iptables -A FORWARD -p tcp --dport 1863 -j DROP

but its not enough, if 1863 is blocked it tries to use port 80.

any work around ?
regards

Signature · 2 lines
(after bouncing head on desk for days trying to get mine working, I'll make
your life a little easier)
#1 lore raw
Quoted 8 lines · Askar

hey here is quick question let suppose i drop MSN with the below rule

#iptables -A FORWARD -p tcp --dport 1863 -j DROP

but its not enough, if 1863 is blocked it tries to use port 80.

any work around ?
regards

the "proper" way to do this, is to block "--dport 1863" in your firewall rules, and also REDIRECT port 80 traffic to a transparent HTTP proxy (like squid), and use ACLs in the proxy to block access to:

http://gateway.messenger.hotmail.com/gateway/gateway.dll

if you want to do this with just IP filtering, you could try blocking port 80 access to 207.46.104.20, which is what that FQDN currently resolves to--but this solution is kludgey and requires that you keep up with the IP address(es) constantly.

-j

--
"I have been shot eight times this year, and as a result, I almost
missed work."
--The Simpsons

#2 lore raw
Quoted 4 lines · [email protected] wrote:

if you want to do this with just IP filtering, you could try blocking port 80 access to 207.46.104.20, which is what that FQDN currently resolves to--but this solution is kludgey and requires that you keep up with the IP address(es) constantly.

You can do that, but last time I checked there were multiple IP's that MSN Messenger connects to.
So, when you block one it will try another. You'll end up with a list of MSN servers to block.

Gr,
Rob

#3 lore raw
Quoted 4 lines · Rob Sterenborg

You can do that, but last time I checked there were multiple IP's that MSN Messenger connects to.
So, when you block one it will try another. You'll end up with a list of MSN servers to block.

yeah--i use the squid method, as i prefer not to have to maintain lists of IP addresses/netblocks in a never-ending loop, as opposed to a single line in squid.conf.

-j

--
"I've added an extra ingredient just for you. The merciless peppers
of Quetzlzacatenango! Grown deep in the jungle primeval by the inmates of a Guatemalan insane asylum."
--The Simpsons

author
#4 lore raw

thanks every body for your time, this list really ROCKS!

regards

Quoted 19 lines · Jason Opperisano
Quoted 4 lines · Rob Sterenborg

You can do that, but last time I checked there were multiple IP's that MSN Messenger connects to.
So, when you block one it will try another. You'll end up with a list of MSN servers to block.

yeah--i use the squid method, as i prefer not to have to maintain lists of IP addresses/netblocks in a never-ending loop, as opposed to a single line in squid.conf.

-j

--
"I've added an extra ingredient just for you. The merciless peppers
of Quetzlzacatenango! Grown deep in the jungle primeval by the inmates of a Guatemalan insane asylum."
--The Simpsons

Signature · 2 lines
(after bouncing head on desk for days trying to get mine working, I'll make
your life a little easier)
#5 lore raw

use squid

acl msn req_mime_type ^application/x-msn-messenger$ http_access deny msn

Quoted 31 lines · Askar

thanks every body for your time, this list really ROCKS!

regards

Quoted 10 lines · Jason Opperisano
Quoted 4 lines · Rob Sterenborg

You can do that, but last time I checked there were multiple IP's that MSN Messenger connects to.
So, when you block one it will try another. You'll end up with a list of MSN servers to block.

yeah--i use the squid method, as i prefer not to have to maintain lists of IP addresses/netblocks in a never-ending loop, as opposed to a single line in squid.conf.

Quoted 9 lines

-j

--
"I've added an extra ingredient just for you. The merciless peppers
of Quetzlzacatenango! Grown deep in the jungle primeval by the inmates of a Guatemalan insane asylum."
--The Simpsons

--
(after bouncing head on desk for days trying to get mine working, I'll make your life a little easier)

Signature · 1 line
Unix IS user friendly... It's just selective about who its friends are