Link to home
Start Free TrialLog in
Avatar of efg-uae
efg-uaeFlag for United Arab Emirates

asked on

How to Block GTalk Messenger?

We have a Squid Server Version 2.6 running on a Fedora Core 7 Box. I need to block the Gtalk Messenger on the network.

Please Help...... Thanks
Avatar of Deepak Kosaraju
Deepak Kosaraju
Flag of United States of America image

It will be hard to block the web gtalk unless you also block gmail from the banned sites. For gtalk client just block the port gtalk runs under (5223).
Add the following in Squid...
http_access deny blocked ports
acl blocked_ports port 5223 5222

you can block talk.google.com using iptables.

iptables -A PREROUTING -t nat -d talk.google.com -j DROP
iptables -A PREROUTING -t nat -p tcp --dport 5222 -j DROP

more than this level would require squid to allow https to gmail.google.com, but block it for all other .google.com sites.

and the best tool to block is layer7 filtering protocol:
http://l7-filter.sourceforge.net/
Gud luck
Avatar of efg-uae

ASKER

I dont want to use the ipTables. as i need to manage its access for some users. not for all.
I need solution in Squid only.
ASKER CERTIFIED SOLUTION
Avatar of efg-uae
efg-uae
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial