bytegomes
(usa Debian)
Enviado em 28/11/2013 - 14:45h
estou criando opção de autenticação no squid pelo proxy crie mas esta apresentando sequinte erro.
Erro:
"Fatal: bungled squi.conf line 40: acl autenticados proxy_auth REQUIRED"
AQUI ESTA meu squid.conf
http_port 3128
visible_hostname debian
# Aqui Fica Portas
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 Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 22 # ssh Winthor
acl Safe_ports port 5900 # ultravnc
acl Safe_ports port 4096 # jcomm
acl Safe_ports port 9189 # android
acl Safe_ports port 9190 # android
acl Safe_ports port 5901 # Servidor Mobile
acl Safe_ports port 10050 # Zabbix
acl Safe_ports port 902 # vmware
acl Safe_ports port 443 # https
acl Safe_ports port 8000 # vmware
acl Safe_ports port 8001 # vmware
acl Safe_ports port 7620 # stand alone
acl Safe_ports port 8081 # stand alone
acl Safe_ports port 9000 # stand alone
acl Safe_ports port 8080 # stand alone
acl Safe_ports port 8080 # prosoft
acl Safe_ports port 3000 # Servidor NFe
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
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 # Multiing http
acl Safe_ports port 901 # swat
acl Safe_ports port 1025-65535 # Portas Altas
#Autenticacao
auth_param basic realm Servidor_Proxy ( Digite Usuario|Senha )
auth_parm basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
acl autenticados proxy_auth REQUIRED
http_access allow autenticados
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
acl redelocal src 192.168.0.0/255.255.255.0
http_access allow localhost
http_access allow redelocal
http_access deny all