jcesarstef
(usa Slackware)
Enviado em 01/10/2014 - 15:22h
Boa tarde, compilei o squid e estou com um problema para utilizar o basic_ncsa_auth
inicialmente eu achei uns tuto que falava somente sobre o ncsa_auth, porem o meu tem o basic na frete. sinceramente não consegui encontrar algum lugar que fizesse uma comparação da diferença dos 2 metodos (se existe diferença). e estou recebendo um erro quando inicio o Squid
Resumindo: O problema é: eu não consigo autenticar no navegador, ja criei os usuários com o htpasswd e esta com permissão de acesso para todos (chmod -R 0777) na pasta
ERRO no access.log:
2014/10/01 16:10:21 kid1| Starting new basicauthenticator helpers...
2014/10/01 16:10:21 kid1| helperOpenServers: Starting 1/5 'basic_ncsa_auth' processes
1412190621.263 28 192.168.168.3 TCP_DENIED/407 434 CONNECT
www.google.com.br:443 pmasili HIER_NONE/- text/html
1412190622.709 1 192.168.168.3 TCP_DENIED/407 434 CONNECT clients4.google.com:443 - HIER_NONE/- text/html
OBS: CENTOS instalação minima
[root@centos ~]# squid -v
Squid Cache: Version 3.4.7
configure options: '--prefix=/usr' '--enable-shared' '--enable-icmp' '--enable-delay-pools' '--enable-ssl' '--enable-linux-netfilter' '--enable-auth' '--enable-auth-basic' '--enable-basic-auth-helpers=NCSA,LDAP,SMB,MSNT,NIS,SASL,PAM,SSFT,DB' '--disable-ipv6' --enable-ltdl-convenience
Reparem nas linhas
"2014/10/01 15:18:37 kid1| helperOpenServers: Starting 0/5 'basic_ncsa_auth' processes
2014/10/01 15:18:37 kid1| helperOpenServers: No 'basic_ncsa_auth' processes needed."
[root@centos ~]# squid -d 10
[root@centos ~]# 2014/10/01 15:18:37 kid1| Current Directory is /root
2014/10/01 15:18:37 kid1| Starting Squid Cache version 3.4.7 for i686-pc-linux-gnu...
2014/10/01 15:18:37 kid1| Process ID 2963
2014/10/01 15:18:37 kid1| Process Roles: worker
2014/10/01 15:18:37 kid1| With 1024 file descriptors available
2014/10/01 15:18:37 kid1| Initializing IP Cache...
2014/10/01 15:18:37 kid1| DNS Socket created at 0.0.0.0, FD 7
2014/10/01 15:18:37 kid1| Adding nameserver 192.168.168.10 from /etc/resolv.conf
2014/10/01 15:18:37 kid1| Adding nameserver 201.6.2.184 from /etc/resolv.conf
2014/10/01 15:18:37 kid1| helperOpenServers: Starting 0/5 'basic_ncsa_auth' processes
2014/10/01 15:18:37 kid1| helperOpenServers: No 'basic_ncsa_auth' processes needed.
2014/10/01 15:18:37 kid1| Logfile: opening log stdio:/usr/etc/squid/log/access.log
2014/10/01 15:18:37 kid1| Unlinkd pipe opened on FD 12
2014/10/01 15:18:37 kid1| Logfile: opening log stdio:/usr/etc/squid/log/store.log
2014/10/01 15:18:37 kid1| Swap maxSize 524288 + 131072 KB, estimated 50412 objects
2014/10/01 15:18:37 kid1| Target number of buckets: 2520
2014/10/01 15:18:37 kid1| Using 8192 Store buckets
2014/10/01 15:18:37 kid1| Max Mem size: 131072 KB
2014/10/01 15:18:37 kid1| Max Swap size: 524288 KB
2014/10/01 15:18:37 kid1| Rebuilding storage in /cache (dirty log)
2014/10/01 15:18:37 kid1| Using Least Load store dir selection
2014/10/01 15:18:37 kid1| Current Directory is /root
2014/10/01 15:18:37 kid1| Finished loading MIME types and icons.
2014/10/01 15:18:37 kid1| HTCP Disabled.
2014/10/01 15:18:37 kid1| Pinger socket opened on FD 18
2014/10/01 15:18:37 kid1| Squid plugin modules loaded: 0
2014/10/01 15:18:37 kid1| Accepting HTTP Socket connections at local=192.168.168.69:3128 remote=[::] FD 16 flags=9
2014/10/01 15:18:37 kid1| Done reading /cache swaplog (637 entries)
2014/10/01 15:18:37 kid1| Finished rebuilding storage from disk.
2014/10/01 15:18:37 kid1| 637 Entries scanned
2014/10/01 15:18:37 kid1| 0 Invalid entries.
2014/10/01 15:18:37 kid1| 0 With invalid flags.
2014/10/01 15:18:37 kid1| 637 Objects loaded.
2014/10/01 15:18:37 kid1| 0 Objects expired.
2014/10/01 15:18:37 kid1| 0 Objects cancelled.
2014/10/01 15:18:37 kid1| 0 Duplicate URLs purged.
2014/10/01 15:18:37 kid1| 0 Swapfile clashes avoided.
2014/10/01 15:18:37 kid1| Took 0.09 seconds (7436.98 objects/sec).
2014/10/01 15:18:37 kid1| Beginning Validation Procedure
2014/10/01 15:18:37 kid1| Completed Validation Procedure
2014/10/01 15:18:37 kid1| Validated 637 Entries
2014/10/01 15:18:37 kid1| store_swap_size = 10408.00 KB
2014/10/01 15:18:38 kid1| storeLateRelease: released 0 objects
Alguem pode me dar um auxilio?
Obrigado