Windows Live messenger block

Protecting your Linux box
Post Reply
majidnazeer
Naik
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

Windows Live messenger block

Post by majidnazeer »

Hi all!

I am using squid. i blocked MSN. But windows live messenger connect successfully. anybody can help me.


Thanks
Zaheer
Battalion Havaldaar Major
Posts: 286
Joined: Fri Oct 17, 2003 12:15 am
Location: Karachi
Contact:

Post by Zaheer »

AA,
Try This,I saw this on some documents somewhere:
U have to edit squid.conf or ?


##### Block MSN Messenger
acl msnmessenger url_regex -i gateway.dll
http_access deny msnmessenger

##### Block MSN online chat
acl msnchathttp url_regex -i ^http://chat\.
acl msnchathttp url_regex -i ^http://.*chat.*
http_access deny msnchathttp
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!

Registered Linux user #333501
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

those rules will block more hosts than just the ones used by the messenger. what should do the trick is just one rule:

Code: Select all

acl windowslive rep_mime_type -i ^application/x-msn-messenger$
[...]
http_access deny windowslive
for msn web chat, you're best off looking at the logs, figuring out what is common about the chat connections (especially their mime types, or urls), and blocking that. simply blocking http://chat.* will block a lot of stuff.
Last edited by lambda on Fri Sep 29, 2006 11:11 am, edited 1 time in total.
Zaheer
Battalion Havaldaar Major
Posts: 286
Joined: Fri Oct 17, 2003 12:15 am
Location: Karachi
Contact:

Post by Zaheer »

AA,
Thanks Lambda.I am a newbie and tried to help him :( .
Take Care
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!

Registered Linux user #333501
kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Re: Windows Live messenger block

Post by kbukhari »

majidnazeer wrote:Hi all!

I am using squid. i blocked MSN. But windows live messenger connect successfully. anybody can help me.


Thanks
acl msn url_regex -i gatway.dll
http_access deny msn
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
majidnazeer
Naik
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

Windows Live messenger block

Post by majidnazeer »

Dear Lambda, Zaheer, Kbukhari!

Code: Select all

 
acl windowslive rep_mime_type -i ^application/x-msn-messenger$ 
[...] 
http_access deny windowslive 

Code: Select all

acl msn url_regex -i gatway.dll 
http_access deny msn
through above ACL's could not be block windows live messenger. Please give some more suggestion.

Thanks
Majid
kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Re: Windows Live messenger block

Post by kbukhari »

majidnazeer wrote:Dear Lambda, Zaheer, Kbukhari!

Code: Select all

 
acl windowslive rep_mime_type -i ^application/x-msn-messenger$ 
[...] 
http_access deny windowslive 

Code: Select all

acl msn url_regex -i gatway.dll 
http_access deny msn
through above ACL's could not be block windows live messenger. Please give some more suggestion.

Thanks
Majid
it should b block
send me the result of
tail -f access.log |grep gateway.dll
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Re: Windows Live messenger block

Post by nomankhn »

majidnazeer wrote:Hi all!

I am using squid. i blocked MSN. But windows live messenger connect successfully. anybody can help me.


Thanks

Dear

you should block this web address login.live.com


acl msn url_regex -i login.live.com
http_access deny msn


Regards
Noman Liaquat Khanzada Rajput
Linux means productivity and fun.
We all love Linux, but it's also a fact that some people might not be able to migrate.
majidnazeer
Naik
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

Post by majidnazeer »

Thanks all of you. I blocked windows live messenger through iptables. Thanks kashif i will send you log later.

Thanks
Majid
kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Post by kbukhari »

majidnazeer wrote:Thanks all of you. I blocked windows live messenger through iptables. Thanks kashif i will send you log later.

Thanks
Majid
Good Luck
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
Post Reply