How can I block Instant Messenger

Taking care of your Linux box.
bhatti
Cadet
Posts: 11
Joined: Sat Jun 10, 2006 12:41 pm

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.

mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

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

x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

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


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 2 guests