http_port 3128 transparent
icp_port 3130
hierarchy_stoplist cgi-bin
hierarchy_stoplist ?
acl QUERY urlpath_regex cgi \?
no_cache deny QUERY
cache_replacement_policy lru
memory_replacement_policy lru
cache_mem 64 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 2 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
ipcache_size 10240
ipcache_low 98
ipcache_high 99
dns_nameservers 192.168.155.1 4.2.2.4 192.9.9.3 217.218.127.105
cache_dir diskd /cache1 3000 16 256 Q1=72 Q2=64
cache_dir diskd /cache2 3000 16 256 Q1=72 Q2=64
cache_dir diskd /cache3 3000 16 256 Q1=72 Q2=64
store_dir_select_algorithm round-robin
access_log /var/log/squid/access.log squid
cache_store_log /var/log/squid/store.log
cache_log /var/log/squid/cache.log
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
coredump_dir none
pid_filename /var/run/squid.pid
emulate_httpd_log off
log_fqdn off
ftp_user
gha3dak.master@gmail.com
url_rewrite_children 5
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
refresh_pattern -i \.gif$ 10080 90% 43200
refresh_pattern -i \.jpg$ 10080 90% 43200
refresh_pattern -i \.bom\.gov\.au 30 20% 120
refresh_pattern -i \.html$ 480 50% 22160
refresh_pattern -i \.htm$ 480 50% 22160
refresh_pattern -i \.php$ 480 50% 22160
refresh_pattern -i \.class$ 10080 90% 43200
refresh_pattern -i \.zip$ 10080 90% 43200
refresh_pattern -i \.jpeg$ 10080 90% 43200
refresh_pattern -i \.mid$ 10080 90% 43200
refresh_pattern -i \.shtml$ 480 50% 22160
refresh_pattern -i \.exe$ 10080 90% 43200
refresh_pattern -i \.thm$ 10080 90% 43200
refresh_pattern -i \.wav$ 10080 90% 43200
refresh_pattern -i \.txt$ 10080 90% 43200
refresh_pattern -i \.cab$ 10080 90% 43200
refresh_pattern -i \.au$ 10080 90% 43200
refresh_pattern -i \.mov$ 10080 90% 43200
refresh_pattern -i \.xbm$ 10080 90% 43200
refresh_pattern -i \.ram$ 10080 90% 43200
refresh_pattern -i \.avi$ 10080 90% 43200
refresh_pattern -i \.chtml$ 480 50% 22160
refresh_pattern -i \.thb$ 10080 90% 43200
refresh_pattern -i \.dcr$ 10080 90% 43200
refresh_pattern -i \.bmp$ 10080 90% 43200
refresh_pattern -i \.phtml$ 480 50% 22160
refresh_pattern -i \.mpg$ 10080 90% 43200
refresh_pattern -i \.pdf$ 10080 90% 43200
refresh_pattern -i \.art$ 10080 90% 43200
refresh_pattern -i \.swf$ 10080 90% 43200
refresh_pattern -i \.mp3$ 10080 90% 43200
refresh_pattern -i \.ra$ 10080 90% 43200
refresh_pattern -i \.spl$ 10080 90% 43200
refresh_pattern -i \.viv$ 10080 90% 43200
refresh_pattern -i \.doc$ 10080 90% 43200
refresh_pattern -i \.gz$ 10080 90% 43200
refresh_pattern -i \.Z$ 10080 90% 43200
refresh_pattern -i \.tgz$ 10080 90% 43200
refresh_pattern -i \.tar$ 10080 90% 43200
refresh_pattern -i \.vrm$ 10080 90% 43200
refresh_pattern -i \.vrml$ 10080 90% 43200
refresh_pattern -i \.aif$ 10080 90% 43200
refresh_pattern -i \.aifc$ 10080 90% 43200
refresh_pattern -i \.aiff$ 10080 90% 43200
refresh_pattern -i \.arj$ 10080 90% 43200
refresh_pattern -i \.c$ 10080 90% 43200
refresh_pattern -i \.cpt$ 10080 90% 43200
refresh_pattern -i \.dir$ 10080 90% 43200
refresh_pattern -i \.dxr$ 10080 90% 43200
refresh_pattern -i \.hqx$ 10080 90% 43200
refresh_pattern -i \.jpe$ 10080 90% 43200
refresh_pattern -i \.lha$ 10080 90% 43200
refresh_pattern -i \.lzh$ 10080 90% 43200
refresh_pattern -i \.midi$ 10080 90% 43200
refresh_pattern -i \.movie$ 10080 90% 43200
refresh_pattern -i \.mp2$ 10080 90% 43200
refresh_pattern -i \.mpe$ 10080 90% 43200
refresh_pattern -i \.mpeg$ 10080 90% 43200
refresh_pattern -i \.mpga$ 10080 90% 43200
refresh_pattern -i \.pl$ 10080 90% 43200
refresh_pattern -i \.ppt$ 10080 90% 43200
refresh_pattern -i \.ps$ 10080 90% 43200
refresh_pattern -i \.qt$ 10080 90% 43200
refresh_pattern -i \.qtm$ 10080 90% 43200
refresh_pattern -i \.ras$ 10080 90% 43200
refresh_pattern -i \.sea$ 10080 90% 43200
refresh_pattern -i \.sit$ 10080 90% 43200
refresh_pattern -i \.tif$ 10080 90% 43200
refresh_pattern -i \.tiff$ 10080 90% 43200
refresh_pattern -i \.snd$ 10080 90% 43200
refresh_pattern -i \.wrl$ 10080 90% 43200
refresh_pattern ^ftp:// 480 60% 22160
refresh_pattern ^gopher:// 30 20% 120
refresh_pattern . 480 50% 22160
# quick abort:
# always finish if less than 10k
# finish if more than 50%
# always abort if more tan 1024k
ie_refresh on
negative_ttl 5 minutes
forward_timeout 4 minutes
connect_timeout 1 minute
read_timeout 15 minutes
request_timeout 5 minutes
pconn_timeout 120 seconds
shutdown_lifetime 15 seconds
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl VIRUS urlpath_regex winnt/system32/cmd.exe?
acl CONNECT method CONNECT
acl purge method PURGE
read_timeout 15 minutes
client_lifetime 3 hours
pconn_timeout 120 seconds
request_timeout 5 minutes
shutdown_lifetime 10 seconds
positive_dns_ttl 53 seconds
negative_dns_ttl 29 seconds
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny VIRUS
http_access allow localhost
http_access allow all
http_reply_access allow all
icp_access allow all
reply_body_max_size 9000000000 allow all
cache_mgr
Gha3dak.master@gmail.com
#cache_effective_user proxy
#cache_effective_group proxy
visible_hostname G3 ISP
minimum_direct_rtt 400
logfile_rotate 3
memory_pools off
# cachemgr_passwd offline_toggle *
store_objects_per_bucket 20
store_avg_object_size 13 kb
netdb_high 1000
netdb_low 900
netdb_ping_period 30 seconds
#wccp2_router 192.168.155.5
#wccp_incoming_address 0.0.0.0
#wccp_outgoing_address 255.255.255.255
acl FTP proto FTP
always_direct allow FTP
log_icp_queries off
strip_query_terms off
offline_mode off
buffered_logs off
debug_options ALL,1 98,2
max_open_disk_fds 55
#error_directory /root/squid-2.6.PRE2/errors/English/
acl snmppublic snmp_community public
snmp_access allow snmppublic localhost
snmp_access deny all
snmp_port 3401
#high_memory_warning 0
#high_response_time_warning 0
#high_page_fault_warning 0