November 25, 2024, 01:36:23 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: how to block yahoo server  (Read 6137 times)

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
how to block yahoo server
« on: July 29, 2005, 08:37:45 PM »
Hello Linux team!!!!

Having a REDHAT 9.0 with masquerading, now i wanted to block yahoo chat server nearly itz having 45 servers, all this i want to block for a single LAN ip ??

ex : cs46.msg.dcn.yahoo.com... cs47.msg.dcn.yahoo.com like this it goes on.. but i want this LAN ip to block 192.168.1.4 one of the client side at a time..


Thanks in advance
sathish.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
how to block yahoo server
« Reply #1 on: July 30, 2005, 05:16:03 PM »
using iptables or u are using proxy ?

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
how to block yahoo server
« Reply #2 on: July 31, 2005, 08:19:05 AM »
Hi,

Ricky i want know from both iptables as well as squid.


Sathish.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
how to block yahoo server
« Reply #3 on: August 01, 2005, 05:23:25 PM »
Blocking with squid is easy, I think one member has done it , u can do same with iptables.
We have discussed about blocking yahoo messenger in thread --> blocking yahoo messenger .
There we have tried few things, and got success also.

using iptables u can do port block ..
Code: [Select]
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 5505 -j DROP  
u can also block domain using iptable similarly

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
yahoo messenger - procedure to block
« Reply #4 on: August 08, 2005, 10:36:35 AM »
Hi Linux team,

I am successful in blocking yahoo messenger here it is

First DROP the yahoo ports as it is discussed in the thread by Mr.Ricky
http://www.linuxsolved.com/forums/ftopic1363.html

Secondly DROP all this below mentioned servers used by yahoo messenger

cs1.msg.dcn.yahoo.com
cs2.msg.dcn.yahoo.com
cs3.msg.dcn.yahoo.com
cs4.msg.dcn.yahoo.com
cs5.msg.dcn.yahoo.com
cs6.msg.dcn.yahoo.com
cs7.msg.dcn.yahoo.com
cs8.msg.dcn.yahoo.com
cs9.msg.dcn.yahoo.com
cs10.msg.dcn.yahoo.com  .............continues..............
upto
cs59.msg.dcn.yahoo.com
cs60.msg.dcn.yahoo.com

and this 3 servers
shttp.msg.yahoo.com
httpes1.msg.vip.dcn.yahoo.com
radio1.launch.vip.dal.yahoo.com

just dropp all the packets[yahoo servers] mentioned above, then you are sucessfull in blocking yahoo messenger.


Let me know any help needed by you guys in blocking yahoo messenger.

sathish.