Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-14-2006, 03:08 AM   #1
LQ Newbie
Registered: Apr 2006
Posts: 11

Rep: Reputation: 0
Block Messenger

Hi every1 I am using squid in RH Linux for cache + proxy.

Can I block only msn , yahoo or all others messengers using squid or iptables ?

I tried my best to surf it but cant get the solution for that.

waiting your reply.

Old 12-14-2006, 05:15 AM   #2
Registered: May 2004
Location: England / Switzerland
Distribution: Gentoo, Ubuntu, Debian, Slackware
Posts: 138

Rep: Reputation: 15
Well, the default msn port is 1863 to block this port use iptables. However msn is port-agile, see:

Old 12-14-2006, 09:27 AM   #3
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Most of the messengers talk in html language; so you just got to do a packet log while they try to connect & then after recording those html queries; block them with url_regex filterring with squid or with iptables. (Depends on the way you do the name resolutions)

This way of blocking is actually done prior to the name resolutions. So having this thing in mind; go ahead & do it on your own, its easy.
Old 12-16-2006, 11:28 PM   #4
LQ Newbie
Registered: Apr 2006
Posts: 11

Original Poster
Rep: Reputation: 0
thanks for reply.

amitsharma_26 .... I tried myself to block my packet filtering but I m not so good in it. so Please if u dont mind it can u make it clear for me to block msn and yahoo using proxy ( squid) or iptables. ?

Old 12-17-2006, 09:11 AM   #5
Registered: May 2001
Posts: 29,409
Blog Entries: 55

Rep: Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582
Moved: This thread is more suitable in the Linux Networking forum (taxonomy: +network +"block access") and has been moved accordingly to help your thread/question get the exposure it deserves.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Block Messenger shipon_97 Linux - Security 4 03-27-2006 03:01 AM
Block yahoo messenger space_beyond Linux - Security 5 05-23-2005 09:53 PM
Block Yahoo messenger Rajesh_Amma Linux - Networking 1 02-21-2005 04:02 AM
block yahoo messenger by ip address gsr_kashyap Linux - Software 3 11-10-2004 01:13 AM
how Block MSN Messenger.... jamiguel77 Linux - Networking 3 09-17-2004 06:29 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration