http_port 8880 transparent
cache_effective_user squid
cache_effective_group squid
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 128 MB
cache_swap_low 85
cache_swap_high 95
maximum_object_size 8192 KB
maximum_object_size_in_memory 100 KB
ipcache_size 10240
fqdncache_size 4096
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir aufs /cache2 4000 16 256
cache_mgr webmaster
visible_hostname Test-Squid
dns_nameservers 10.20.20.20 10.20.24.24
request_header_max_size 1000 KB
request_body_max_size 100 KB
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
connect_timeout 180 seconds
peer_connect_timeout 45 seconds
request_timeout 4 minutes
client_lifetime 720 minutes
acl nimda1 urlpath_regex -i \.elm$
acl nimda2 urlpath_regex -i root.exe
acl nimda3 urlpath_regex -i cmd.exe
acl nimda4 urlpath_regex -i ^
http://.*www/
acl nimda5 urlpath_regex -i readme.exe
acl nimda6 urlpath_regex -i default.id
acl nimda7 urlpath_regex -i :25
acl all src 0.0.0.0/0
acl local src 10.20.24.0/24
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl PURGE method purge
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny nimda1
http_access deny nimda2
http_access deny nimda3
http_access deny nimda4
http_access deny nimda5
http_access deny nimda6
http_access deny nimda7
http_access allow purge localhost
http_access deny purge
http_access allow all
http_reply_access allow all
http_access deny all
ie_refresh on
cache_access_log /var/log/squid/access.log
cache_store_log /var/log/squid/store.log
cache_log /var/log/squid/cache.log