continua algo errado
olha so..
se eu acessar as pagina bloqueadas aparece Acesso proibido como quero porem, se eu acessar qualquer pagina que não for liberada aparece erro:
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL:
http://www.google.com.br/ Incapaz de determinar o endereço IP através do nome do host "
www.google.com.br"
O servidor DNS retornou:
Timeout
This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.
Your cache administrator is webmaster.
Generated Tue, 19 Jul 2011 19:32:15 GMT by cicrisa (squid/2.7.STABLE9)
segue meu squid.conf.
####SQUID#####
http_port 3128 transparent
visible_hostname cicrisa
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
hosts_file /etc/hosts
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
cache_effective_group proxy
coredump_dir /var/spool/squid
####LOGs####
cache_log /var/log/squid/cache.log
cache_access_log /var/log/squid/access.log
error_directory /usr/share/squid/errors/Portuguese
####Controle de acesso####
acl rede src 192.168.1.0/255.255.255.0
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 Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
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 localhost
####Declaracao acl####
# cesso_total = IPs que terão acesso total à internet. Não passarão por nenhuma restrição do squid.
# acesso_restrito = IPs que passarão pelo bloqueio dos sites.
# liberados = Lista de sites liberados
acl acesso_total src "/etc/squid/acesso_total"
acl acesso_restrito src "/etc/squid/acesso_restrito"
acl liberados url_regex -i "/etc/squid/liberados"
####Ativar acl####
http_access allow acesso_total
http_access allow liberados
http_access deny acesso_restrito
http_access deny all