gabrielladislau
(usa Debian)
Enviado em 14/11/2008 - 19:27h
Olhem so estou tentando configurar um squid no fedora 9 mas ele não autentica e não demostra erro nenhum e esse é o log.
Process ID 2174
2008/11/14 14:50:35| With 1024 file descriptors available
2008/11/14 14:50:35| DNS Socket created at 0.0.0.0, port 38907, FD 7
2008/11/14 14:50:35| Warning: Could not find any nameservers. Trying to use localhost
2008/11/14 14:50:35| Please check your /etc/resolv.conf file
2008/11/14 14:50:35| or use the 'dns_nameservers' option in squid.conf.
2008/11/14 14:50:35| helperOpenServers: Starting 5 'ncsa_auth' processes
2008/11/14 14:50:35| User-Agent logging is disabled.
2008/11/14 14:50:35| Referer logging is disabled.
2008/11/14 14:50:35| Unlinkd pipe opened on FD 17
2008/11/14 14:50:35| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2008/11/14 14:50:35| Swap maxSize 102400 KB, estimated 7876 objects
2008/11/14 14:50:35| Target number of buckets: 393
2008/11/14 14:50:35| Using 8192 Store buckets
2008/11/14 14:50:35| Max Mem size: 65536 KB
2008/11/14 14:50:35| Max Swap size: 102400 KB
helperOpenServers: Starting 5 'ncsa_auth' processes
(o que quer dizer isso?)
me ajudem se tiverem um conf configurado para fazer autenticação eu agradeço se não estiver alterem o meu e me mande novamente por favor!
http_port 3128
cache_mem 64 MB
#cache_dir ufs /var/cache/squid 100 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
pid_filename /var/run/squid.pid
auth_param basic program /usr/libexec/ncsa_auth/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm ENTRE COM SEU LOGIN E SENHA, ESTE SERVICO UM PRIVILEGIO E NAO UM DIREITO, PORTANTO USE-O COM RESPONSABILIDADE
auth_param basic credentialsttl 2 hour
auth_param basic casesensitive off
acl autenticacao proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl HTTP proto http
acl localhost src 127.0.0.1/255.255.255.255
acl purge method PURGE
acl CONNECT method CONNECT
acl bloqueados url_regex "/etc/squid/bloqueados/block.txt"
acl desbloqueados url_regex "/etc/squid/bloqueados/unblock.txt"
acl net_liberada src 192.168.10.210
acl redelocal src 192.168.10.0/24 # IP da sua Rede
http_access allow autenticacao
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny CONNECT !desbloqueados
#http_access allow ip_liberado
http_access allow net_liberada
http_access deny bloqueados !desbloqueados
#http_access deny list
http_access allow localhost
http_access allow redelocal
http_access deny all
cache_mgr vwmctba@gmail.com # E-mail ADMIN
visible_hostname ewmserver # Nome do computador