#---------------------------------------------------------
# Bienvenue dans la configuration de SQUID 2.6 : STABLE 16
#---------------------------------------------------------
http_port 3132
cache_effective_user squid
cache_mgr
pouet@pouet.fr
visible_hostname squid-proxy.loc
icp_port 3132
cache_mem 1024MB
maximum_object_size 5MB
minimum_object_size 0MB
cache_dir ufs /var/spool/squid 1024 16 256
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
logformat squidaccess %>a %ui %un %tl "HTTP/%ru %rv" "%>a %<A %lp"
access_log /var/spool/squid/access.log squidaccess
cache_log /var/spool/squid/cache.log
client_netmask 255.255.255.0
hosts_file /etc/host
hosts_file %SystemRoot%\System32\drivers\etc\hosts
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
acl all src 0.0.0.0 /0.0.0.0
acl LAN src 192.168.0.0 /255.255.255.0
acl SAFE-PORTS 80 21 443 873
acl LANTIME S-T-W-H-F-A
http_access deny all
http_access deny !LAN
http_access deny !SAFE-PORTS
icp_access deny all
icp_access deny !LAN
icp_access deny !SAFE-PORTS