Windows Live messenger block

Protecting your Linux box

Windows Live messenger block

Postby majidnazeer » Fri Sep 29, 2006 10:34 am

Hi all!

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


Thanks
majidnazeer
Naik
 
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

Postby Zaheer » Fri Sep 29, 2006 10:51 am

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
Zaheer
Battalion Havaldaar Major
 
Posts: 284
Joined: Fri Oct 17, 2003 12:15 am
WLM: zaheermb20@hotmail.com
Yahoo Messenger: zaheermb2002@yahoo.com
Location: Karachi

Postby lambda » Fri Sep 29, 2006 11:03 am

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.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby Zaheer » Fri Sep 29, 2006 11:10 am

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
Zaheer
Battalion Havaldaar Major
 
Posts: 284
Joined: Fri Oct 17, 2003 12:15 am
WLM: zaheermb20@hotmail.com
Yahoo Messenger: zaheermb2002@yahoo.com
Location: Karachi

Re: Windows Live messenger block

Postby kbukhari » Fri Sep 29, 2006 11:35 am

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
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore

Windows Live messenger block

Postby majidnazeer » Fri Sep 29, 2006 11:49 am

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
majidnazeer
Naik
 
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

Re: Windows Live messenger block

Postby kbukhari » Fri Sep 29, 2006 1:44 pm

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
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore

Re: Windows Live messenger block

Postby nomankhn » Fri Sep 29, 2006 4:18 pm

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.
nomankhn
Colonel
 
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Postby majidnazeer » Sat Sep 30, 2006 12:04 pm

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

Thanks
Majid
majidnazeer
Naik
 
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

Postby kbukhari » Mon Oct 02, 2006 9:09 am

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
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore


Return to “%s” Security

Who is online

Users browsing this forum: No registered users and 1 guest

cron