All pastes #991975 Raw Edit

Stuff

public text v1 · immutable
#991975 ·published 2008-04-21 14:54 UTC
rendered paste body
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
acl Safe_ports port 80          # http
acl Safe_ports port 8080        # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
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 CONNECT method CONNECT
acl ICQ port 5190
acl FTP port 21
acl TSU-Extended src "/usr/local/etc/squid/users-extended"
acl TSU-Extended-MAC arp "/usr/local/etc/squid/mac-users-extended"
acl TSU-Standard src "/usr/local/etc/squid/users-standard"
acl TSU-Standard-MAC arp "/usr/local/etc/squid/mac-users-standard"
acl TSU-Limited  src "/usr/local/etc/squid/users-limited"
acl TSU-Limited-MAC  arp "/usr/local/etc/squid/mac-users-limited"
acl Block-Extended url_regex -i "/usr/local/etc/squid/block-extended"
acl Block-Standard url_regex -i "/usr/local/etc/squid/block-standard"
acl Block-Limited  url_regex -i "/usr/local/etc/squid/block-limited"
acl Permit-Extended dst "/usr/local/etc/squid/permit-extended"
acl Permit-Standard dst "/usr/local/etc/squid/permit-standard"
acl Permit-Limited  dst "/usr/local/etc/squid/permit-limited"
acl Time_Dinner  time MTWHF 13:00-14:00
acl Time_Night_ev  time 22:00-23:59
acl Time_Night_mo  time 0:00-8:30
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports !ICQ
http_access deny Block-Extended TSU-Extended
http_access deny Block-Standard TSU-Standard
http_access deny Block-Limited TSU-Limited
http_access deny Block-Extended TSU-Extended-MAC
http_access deny Block-Standard TSU-Standard-MAC
http_access deny Block-Limited TSU-Limited-MAC
http_access allow TSU-Extended
http_access allow TSU-Extended-MAC
http_access allow TSU-Standard !Time_Night_ev !Time_Night_mo
http_access allow TSU-Standard-MAC !Time_Night_ev !Time_Night_mo
http_access allow TSU-Limited !Time_Night_ev !Time_Night_mo
http_access allow TSU-Limited-MAC !Time_Night_ev !Time_Night_mo
delay_access 1 allow TSU-Extended
delay_access 1 deny all
delay_access 2 allow TSU-Standard
delay_access 2 deny all
delay_access 3 allow TSU-Limited
delay_access 3 deny all
http_access deny all
icp_access allow all
http_port 127.0.0.1:3128 transparent
hierarchy_stoplist cgi-bin ?
access_log /usr/local/squid/logs/access.log squid
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
delay_pools 3
delay_class 1 2
delay_class 2 2
delay_class 3 2
delay_parameters 1 128000/512000 64000/512000
delay_parameters 2 64000/256000 16000/128000
delay_parameters 3 64000/256000 8000/64000
coredump_dir /usr/local/squid/cache