luisc
(usa CentOS)
Enviado em 14/09/2009 - 23:41h
fiz o que vc falou, mais deu um erro o squid
não reiniciou.
coloquei minhas acls para vcs verificarem.
desde de já agradeço a todos,
um abraço.
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/32
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, snwes
acl safe_ports port 70 # gopher
acl safe_ports port 210 # wais
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 901 # swat
acl safe_ports port 1025 65535 # potas altas
acl purge method PURGE
acl CONNECT method CONNECT
acl redelocal src 10.0.0.0/255.255.255.0
acl proibidos url_regex "/etc/squid/proibidos"
acl sites url_regex -i "/etc/squid/proibidos"
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 proibidos
acl redelocal src 10.0.0.1/24
delay_pools 1
delay_class 1 2
delay_parameters 1 114688/114688 16384/16384
delay_access 1 allow redelocal
http_access allow localhost
http_access allow redelocal
http_access deny all