Search squid archive

Digest auth DENIED/407 for notexistant user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux