Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
linux:squid [2009/05/25 00:35] 127.0.0.1 external edit |
linux:squid [2010/03/20 18:25] (current) a squid |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Squid ( web-cache proxy ) ====== | ||
+ | |||
* Viralator (http:// | * Viralator (http:// | ||
* squid-vscan (http:// | * squid-vscan (http:// | ||
Line 87: | Line 89: | ||
After making changes like the ones above, my Squid' | After making changes like the ones above, my Squid' | ||
+ | ===== Proxy AIM, MSN, Gtalk, .. ===== | ||
+ | To proxy and to allow AIM, MSN, Yahoo and GTalk Instant Messenger traffic via with Squid, change/add the following line in the Squid configuration file. | ||
+ | |||
+ | **# Allow AIM protocols** | ||
+ | < | ||
+ | acl AIM_ports port 5190 9898 6667 | ||
+ | acl AIM_domains dstdomain .oscar.aol.com .blue.aol.com .freenode.net | ||
+ | acl AIM_domains dstdomain .messaging.aol.com .aim.com | ||
+ | acl AIM_hosts dstdomain login.oscar.aol.com login.glogin.messaging.aol.com toc.oscar.aol.com irc.freenode.net | ||
+ | acl AIM_nets dst 64.12.0.0/ | ||
+ | acl AIM_methods method CONNECT | ||
+ | http_access allow AIM_methods AIM_ports AIM_nets | ||
+ | http_access allow AIM_methods AIM_ports AIM_hosts | ||
+ | http_access allow AIM_methods AIM_ports AIM_domains | ||
+ | </ | ||
+ | |||
+ | **# Allow Yahoo Messenger** | ||
+ | < | ||
+ | acl YIM_ports port 5050 | ||
+ | acl YIM_domains dstdomain .yahoo.com .yahoo.co.jp | ||
+ | acl YIM_hosts dstdomain scs.msg.yahoo.com cs.yahoo.co.jp | ||
+ | acl YIM_methods method CONNECT | ||
+ | http_access allow YIM_methods YIM_ports YIM_hosts | ||
+ | http_access allow YIM_methods YIM_ports YIM_domains | ||
+ | </ | ||
+ | |||
+ | **# Allow GTalk** | ||
+ | < | ||
+ | acl GTALK_ports port 5222 5050 | ||
+ | acl GTALK_domains dstdomain .google.com | ||
+ | acl GTALK_hosts dstdomain talk.google.com | ||
+ | acl GTALK_methods method CONNECT | ||
+ | http_access allow GTALK_methods GTALK_ports GTALK_hosts | ||
+ | http_access allow GTALK_methods GTALK_ports GTALK_domains | ||
+ | </ | ||
+ | **# Allow MSN** | ||
+ | < | ||
+ | acl MSN_ports port 1863 443 1503 | ||
+ | acl MSN_domains dstdomain .microsoft.com .hotmail.com .live.com .msft.net .msn.com .passport.com | ||
+ | acl MSN_hosts dstdomain messenger.hotmail.com | ||
+ | acl MSN_nets dst 207.46.111.0/ | ||
+ | acl MSN_methods method CONNECT | ||
+ | http_access allow MSN_methods MSN_ports MSN_hosts | ||
+ | </ |