DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Dave has posted 1 posts at DZone. View Full User Profile

Squid Conf File

  • submit to reddit
        Personal squid conf file. Allowing AIM ports and all web browsing.

cache_dir ufs /Users/dave/Library/Caches/squid 100 16 256
acl dontcacheanything src 0/0
no_cache deny dontcacheanything
maximum_object_size 32768 KB
http_port 28080
visible_hostname localhost
cache_access_log /Users/dave/Library/Logs/squid-access.log
cache_log /Users/dave/Library/Logs/squid-cache.log
cache_store_log /Users/dave/Library/Logs/squid-store
pid_filename /tmp/
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin 
no_cache deny QUERY
acl all src
acl AIM_ports port 5190 9898 6667
acl AIM_domains dstdomain
acl AIM_domains dstdomain
acl AIM_hosts dstdomain
acl AIM_nets dst
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
acl manager proto cache_object
acl localhost src
acl SSL_ports port 443 563 1863 5190 5222 5050 6667 8443
acl Safe_ports port 80 81 21 443 563 70 210 1025-65535 280 488 591 777
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
http_access deny all
always_direct deny all