Tony Martins
(usa Ubuntu)
Enviado em 21/10/2009 - 16:24h
Ola pessoal, boa tarde. Eu Instalei o Squid numa maquina virtual com o Ubuntu 9.04 e até conseguir bloquear em alguns momentos, mas não sei o que fiz que o Squid parou de bloquear, se alguem puder me dar uma ajuda ficarei grato. Segue as configurações do me Proxy:
###########################################
http_port 3128 transparent
visible_hostname tony-desktop
cache_mgr otoni.sm@hotmail.com
cache_mem 8 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 30 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/squid/ 3000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
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 SSL_ports port 443
acl Safe_ports port 80
acl Safe_ports port 443
acl purge method PURGE
acl CONNECT method CONNECT
http_access deny 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
acl acesso_total src "/etc/squid/acesso_total"
acl regra_de_palavra url_regex -i "/etc/squid/regra_de_palavra"
acl regra_de_conteudo urlpath_regex "/etc/squid/regra_de_conteudo"
acl regra_de_url dstdomain "/etc/squid/regra_de_url"
acl regra_de_download urlpath_regex .arj$ .zip$ .rar$ .exe$ .com$ .avi$ .mpeg$ .mpg$ .bat$ .scr$ .aff$
http_access allow acesso_total
http_access allow regra_de_palavra
http_access allow regra_de_conteudo
http_access allow regra_de_url
http_access deny regra_de_download
###########################################