Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:squid [2008/12/27 19:38]
a + How To Set Up A Caching Reverse Proxy With Squid 2.6 On Debian Etch
linux:squid [2010/03/20 18:25] (current)
a squid
Line 1: Line 1:
 +====== Squid ( web-cache proxy ) ======
 +
    * Viralator (http://viralator.sourceforge.net/ - Squid + Perl skript)    * Viralator (http://viralator.sourceforge.net/ - Squid + Perl skript)
    * squid-vscan (http://sourceforge.net/project/showfiles.php?group_id=10590&release_id=68273)    * squid-vscan (http://sourceforge.net/project/showfiles.php?group_id=10590&release_id=68273)
Line 87: Line 89:
 After making changes like the ones above, my Squid's byte hit rate increased from about 8% to between 26-37%. If you are doing 33%, it means a third of all traffic is coming from your cache, and not from slower links across the Internet. After making changes like the ones above, my Squid's byte hit rate increased from about 8% to between 26-37%. If you are doing 33%, it means a third of all traffic is coming from your cache, and not from slower links across the Internet.
  
 +===== 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**
 +<code>
 +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/255.255.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
 +</code>
 +
 +**# Allow Yahoo Messenger**
 +<code>
 +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
 +</code>
 +
 +**# Allow GTalk**
 +<code>
 +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
 +</code>
  
 +**# Allow MSN**
 +<code>
 +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/255.255.255.0
 +acl MSN_methods method CONNECT
 +http_access allow MSN_methods MSN_ports MSN_hosts 
 +</code>
linux/squid.1230403129.txt.gz ยท Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready