Hi all,
I want to make sure my proxy(version 4.10) digest authentication is fine. I did 
not find an example on the online documentation and I used this as a reference.
The client is a simple java app that just connects to a page  through the 
proxy. I use ->Authenticator.setDefault(new Authenticator() { . Which works 
fine for the basic_ncsa_auth or without authentication
The error I get using the digest authentication is.:
on client side:java.net.ProtocolException: Server redirected too many  times 
(20) at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1908)
 
I do not see any errors on proxy access .log
Can you please let me know if my config is correct and how can I test my squid 
proxy digest auth?
Below if my squid.conf
##### LOG ####################cache_log /var/log/squid/cache.logaccess_log 
/var/log/squid/access.log squidcache_store_log nonelogfile_rotate 10
## disable cachecache deny all

## Digest Authentication auth_param digest program 
/usr/lib/squid/digest_file_auth  /etc/squid/passwd_digest auth_param digest 
realm squiddigest#auth_param digest utf8 onauth_param digest children 
20auth_param digest nonce_garbage_interval 5 minutesauth_param digest 
nonce_max_duration 30 minutes#auth_param digest nonce_max_count 50auth_param 
digest nonce_strictness off#auth_param digest check_nonce_count on

acl no_auth myport 3130acl digest_users proxy_auth REQUIRED myport 3131  ## 
Permissions list. Do not change the order!http_access allow no_authhttp_access 
allow digest_usershttp_access deny all
## listening porthttp_port 3130 transparenthttp_port 3131 transparent


and content of passwd_digestsquid:squiddigest:310dc627ec8633cbbc61d9bc02608287
Thanks,

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to