[squid-users] Digest auth DENIED/407 for notexistant user
"Nils Hügelmann (anonymoX.net)"
nils at anonymox.net
Sat Sep 27 10:36:29 UTC 2014
Hi,
In squid 3.4.7, when authenticating with an inexistant user, i get only
DENIED/407 replies. Instead of first 407 and then 403.
config:
auth_param digest program digest_file_auth /etc/passwd
auth_param digest realm anonymox.net
acl proxyauth_passed proxy_auth REQUIRED
http_access allow proxyauth_passed
http_access deny all
test request:
$ curl -x server:80 -I --proxy-digest -U asd:aqads http://google.com
HTTP/1.1 407 Proxy Authentication Required
Server: squid/3.4.7
Mime-Version: 1.0
Date: Sat, 27 Sep 2014 10:32:29 GMT
Content-Type: text/html
Content-Length: 2997
X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
Vary: Accept-Language
Content-Language: en
Proxy-Authenticate: Digest realm="anonymox.net",
nonce="PZImVAAAAADwrX30ln8AABnVEEcAAAAA", qop="auth", stale=false
X-Cache: MISS from testproxy1
Via: 1.1 testproxy1 (squid/3.4.7)
Connection: keep-alive
HTTP/1.1 407 Proxy Authentication Required
Server: squid/3.4.7
Mime-Version: 1.0
Date: Sat, 27 Sep 2014 10:32:29 GMT
Content-Type: text/html
Content-Length: 3346
X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
Vary: Accept-Language
Content-Language: en
Proxy-Authenticate: Digest realm="anonymox.net",
nonce="PZImVAAAAABgnX30ln8AAB94ugUAAAAA", qop="auth", stale=false
X-Cache: MISS from testproxy1
Via: 1.1 testproxy1 (squid/3.4.7)
Connection: keep-alive
authhelper test (bundled unmodified digest_file_auth):
$ digest_file_auth /etc/passwd
"asd":"anonymox.net"
ERR message="No such user"
Anything i missed? Or should i file a bug?
--
Best Regards
Nils
anonymoX Team
http://www.anonymox.net/
More information about the squid-users
mailing list