# NETWORK OPTIONS # ----------------------------------------------------------------------------- http_port 16497 icp_port 0 udp_incoming_address 127.0.0.1 read_timeout 5 minutes error_directory /share/errors/English # PARENT PROXY SETTINGS # ----------------------------------------------------------------------------- #cache_peer parent 7 default no-query no-digest #cache_peer parent 7 default no-query no-digest login=: # CACHE AND LOGGING OPTIONS # ----------------------------------------------------------------------------- cache_dir ufs /cache 1848 16 256 cache_access_log /var/logs/access.log cache_log none cache_store_log none mime_table /etc/mime.conf # OPTIONS FOR TUNING THE CACHE # ----------------------------------------------------------------------------- maximum_object_size_in_memory 20 KB cache_mem 16 MB refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 # ACCESS CONTROLS # ----------------------------------------------------------------------------- auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours auth_param basic program /usr/bin/dummy_auth acl all src 0.0.0.0/0.0.0.0 acl localhost src 127.0.0.1/255.255.255.255 acl auth proxy_auth REQUIRED acl CONNECT method CONNECT acl HTTP_PORT port 80 acl Safe_ports port 21 acl Safe_ports port 80 acl Safe_ports port 443 acl Safe_ports port 389 acl Safe_ports port 8080 acl LOCAL_NAME dstdomain ares.wilsonet.com acl LOCAL_PORT dstport 16497 http_access allow LOCAL_NAME LOCAL_PORT #no_cache deny all http_access deny !Safe_ports http_access deny CONNECT !Safe_ports #http_access deny CONNECT HTTP_PORT http_access deny !localhost #never_direct allow all #never_direct allow all http_access allow auth http_access deny all http_reply_access allow all icp_access deny all cache_effective_user chroot visible_hostname ares.wilsonet.com # ANONYMITY (HEADER) SETTINGS # ----------------------------------------------------------------------------- #header_access From deny all #header_access Referer deny all #header_access Server deny all #header_access User-Agent deny all #header_access Link deny all #header_access Allow allow all #header_access Authorization allow all #header_access WWW-Authenticate allow all #header_access Cache-Control allow all #header_access Content-Encoding allow all #header_access Content-Length allow all #header_access Content-Type allow all #header_access Date allow all #header_access Expires allow all #header_access Host allow all #header_access If-Modified-Since allow all #header_access Last-Modified allow all #header_access Location allow all #header_access Pragma allow all #header_access Accept allow all #header_access Accept-Charset allow all #header_access Accept-Encoding allow all #header_access Accept-Language allow all #header_access Content-Language allow all #header_access Mime-Version allow all #header_access Retry-After allow all #header_access Title allow all #header_access Connection allow all #header_access Proxy-Connection allow all #header_access All deny all # MISC SETTINGS # ----------------------------------------------------------------------------- coredump_dir /cache ie_refresh on request_body_max_size 40 MB