Julioalima
(usa Ubuntu)
Enviado em 23/03/2009 - 16:38h
Olá pessoal do VOL, sou novo aqui e gostaria de uma ajuda com o squid!
Meu squid esta bloqueando tudo, até o que está no "sites_liberados"
O que posso fazer???
Já vasculhei todos os tipos de tuto e nada.
Se alguêm souber por favor me ajudem!!!
[]'s
Aqui vai a script do squid.conf.
#
#CONFIGURACAO SQUID-TESTE
#
visible_hostname firewall-teste
http_port 3128 transparent
cache_mem 128 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4095 KB
cache_dir ufs /var/spool/squid 256 16 256
cache_access_log /var/log/squid/access.log
error_directory /usr/share/squid/errors/Portuguese
cache_mgr ...@....com.br
emulate_httpd_log on
#
#Acl's
#
acl all src 0.0.0.0/0.0.0.0
acl download url_regex -i "/etc/squid/download/download"
acl bloqueio dstdomain "/etc/squid/download/site"
acl site_liberados dstdomain "/etc/squid/download/sites_liberados"
acl IP_LAN src 172.16.1.0/24
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 para autenticacao
#
#acl ntlm_auth proxy_auth REQUIRED
http_access allow all
http_access allow manager localhost
http_access allow !Safe_ports
http_access deny manager
http_access allow CONNECT !SSL_ports
http_access allow IP_LAN
http_access deny all
http_reply_access allow all
icp_access allow all