
impacta
(usa Conectiva)
Enviado em 15/07/2010 - 20:43h
Ola amigos estou montando meu primeiro servidor linux usando o centos 5.4 com o squid 2.6. Fiz umas regras de bloqueio so que quando eu determino pra liberar tudo até ai ok, mais quando eu coloco pra passar por um proxy ele da esse erro abaixo
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL:
http://www.clix.pt/
The following error was encountered:
* Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is root.
Segue abaixo meu squid, agradeço desde ja quem puder me ajudar.
Squid.conf
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 564 # 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 bloqueia url_regex -i "/configura/sitesbloqueados"
acl libera url_regex -i "/configura/sitespermitidos"
acl liberadoshorario url_regex -i "/configura/liberadoshorario"
http_access deny bloqueia !libera
http_access allow localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all