How can I block Instant Messenger

Taking care of your Linux box.

How can I block Instant Messenger

Postby bhatti » Fri Feb 13, 2009 4:28 pm

All clients are using internet through Squid Proxy

How can i block the MSN, Yahoo and other messengers through squid.
bhatti
Cadet
 
Posts: 11
Joined: Sat Jun 10, 2006 12:41 pm

Postby mejam » Fri Feb 13, 2009 6:52 pm

use the following in ur conf file

=========================================

acl msnmime req_mime_type ^application/x-msn-messenger

acl msngw url_regex -i gateway.dll

http_access deny msnmime

http_access deny msngw
==========================================

for more help and information you can visit

http://blogs.techrepublic.com.com/networking/?p=308
Regards
Abdulrehman
mejam
Havaldaar
 
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
WLM: bmw1000cc@hotmail.com
Yahoo Messenger: vagabond_aw@yahoo.com
Location: Lahore

Postby x2oxen » Mon Feb 16, 2009 11:07 pm

yup you can block it via mime type or else with iptables.

example for ICQ blocking
iptables -A FORWARD -p tcp -s 10.10.0.0/16 -o $EXT --dport 4000 -j DROP
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
x2oxen
Major General
 
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Website: http://usmanpk.com
WLM: x2oxen@hotmail.com
Yahoo Messenger: x2oxen
Location: Faisalabad


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron