lucas_vga
(usa Ubuntu)
Enviado em 08/12/2009 - 16:34h
Opa.. ta ai o código do meu squid.conf
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic credentialsttl 1 hour
auth_param basic realm DIGITE USUARIO E SENHA
auth_param basic casesensitive off
http_port 3128
error_directory /usr/share/squid/errors/Portuguese/
visible_hostname Servidor-proxy
# GERA O RELATORIO DE SITES ACESSADOS
#cache_access_log /home/squid/log/access.log
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic credentialsttl 1 hour
auth_param basic realm DIGITE USUARIO E SENHA
auth_param basic casesensitive off
http_port 3128
error_directory /usr/share/squid/errors/Portuguese/
visible_hostname Servidor-proxy
# GERA O RELATORIO DE SITES ACESSADOS
#cache_access_log /home/squid/log/access.log
# OPCOES DO CACHE, RESEVADO 3MB DE CACHE
#cache_dir ufs /home/squid/cache 3000 16 256
cache_swap_low 85
cache_swap_high 90
cache_mem 8 MB
maximum_object_size 4096 KB
maximum_object_size_in_memory 128 KB
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl SSL_ports port 443 563
acl Safe_ports port 80 21 70 219 888
acl CONNECT method CONNECT
acl autenticados proxy_auth REQUIRED
acl user_liberado proxy_auth alexandre lucas
http_access allow user_liberado
acl sites_bloqueados url_regex -i "/etc/squid/acls/sites_bloqueados"
http_access deny sites_bloqueados
acl palavras_bloqueadas dstdom_regex "/etc/squid/acls/palavras_bloqueadas"
http_access deny palavras_bloqueadas
acl permitidos src 172.158.0.0/255.255.255.0
acl all src 172.158.0.0/255.255.255.0
http_access allow autenticados permitidos
http_access deny all
Tem idéia do que pode ser?
E outra alguns msn pararam de conectar, não sei por que, não bloquiei acesso ao msn...