deusvan
(usa Ubuntu)
Enviado em 24/04/2009 - 09:00h
ESTE É O MEU SQUID ,,, LEMBRANDO QUE O ERRO ACONTECEU DEPOIS DE UMA QUEDA DE ENERGIA QUE TIVEMOS E O MEU SERVIDOR DESLIGOU...
# WELCOME TO SQUID 2.6.STABLE18
# ----------------------------
#
#Recommended minimum configuration:
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 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # 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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl MAD time 0:00-8:00
acl MAN time 8:01-11:59
acl MID time 12:00-14:00
acl TAR time 14:01-17:59
acl NOI time 00:01-04:00
acl FULL time 00:00-23:59
acl unblockedsites url_regex -i "/etc/squid/unblock.txt"
acl msn url_regex -i "/etc/squid/msn.txt"
acl fat url_regex -i "/etc/squid/fat.txt"
acl atend url_regex -i "/etc/squid/atend.txt"
acl cont url_regex -i "/etc/squid/cont.txt"
acl bloqueado url_regex -i "/etc/squid/block.txt"
acl diretoria src 130.0.0.253 130.0.0.127 130.0.0.128 130.0.0.129
acl vpn src 192.168.96.0/24 192.168.98.0/24
acl faturamento src 130.0.0.61-130.0.0.79
acl atendimento src 130.0.0.18 130.0.0.19 130.0.0.20 130.0.0.21
acl contabilidade src 130.0.0.1
http_access allow faturamento fat
http_access deny faturamento bloqueado
http_access deny faturamento !fat
http_access allow atendimento atend
http_access deny atendimento bloqueado
http_access deny atendimento !atend
http_access allow contabilidade cont TAR
http_access deny contabilidade !cont
http_access allow vpn msn
http_access allow vpn !diretoria
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 allow diretoria
http_access allow localhost
http_access allow unblockedsites
http_access deny all !diretoria
http_access allow localhost
http_access deny all
icp_access allow all
http_port 3128 transparent
visible_hostname fwpalmas
hierarchy_stoplist cgi-bin ?
maximum_object_size 128 MB
minimum_object_size 2 KB
cache_dir ufs /var/spool/squid 8192 16 256
access_log /var/log/squid/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
hosts_file /etc/hosts
coredump_dir /var/spool/squid