Maintained by: NLnet Labs

[Unbound-users] Squid 3.4.10 cachemgr.cgi access denied

Yuri Voinov
Wed Dec 24 12:51:21 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi, gents.

Now I have another problem. Cachemgr.cgi with password does not access
to Squid when password specified.

Look at squid.conf frag (this configuration ffragments derived from
working Squid2 installation):

# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager

# Cache manager
cache_mgr yvoinov at gmail.com

# Cache manager password
cachemgr_passwd secret all

and when I login through local Apache - I've got Squid access denied
page and message in cache.log:

2014/12/24 17:44:17 kid1| CacheManager: unknown at local=127.0.0.1:3127
remote=127.0.0.1:35146 FD 40 flags=1: password needed for 'menu'

Also, Munin plugins cannot work too - they use authenticated cachemgr login.

AFAIK, this means unknown user.

Ok,

now - what username I must use in cachemgr login form?

PS. I found temporary workaround - with disabling password protection
(and disabling dangerous actions in cachemgr), but want to find better
solution.

WBR, Yuri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBAgAGBQJUmqi5AAoJENNXIZxhPexGekkH/0P5q8dhDlLn2YAgxJ1teNb4
lFvrzLLomih2kHfepzbX7Z6QZh0BgUcMayymSwyVC3Jw/MkxFXpa3/kbkP72IfEs
kP8vM9YL6kgz05In0ogWgY5tBVeVpX17CqcmTzcsxhio5tn4C/A3S24p2rsVR1tD
4OZSMwhgo9XgZC085E/jW7kXzop2yhenNcifHm2scRUHB0jAz+Lq30tEbtFKMrqd
KA0OeTs35f5R4zTQ+lVBrwgHT0sp7TzGEhBOHNTqgERlJJTcUOIFt5YTTHihxuUy
XHDno7EUNupQW3nKrhg61S2esLuDR2+3iNqUijbPqrqw0I0ZhkDQ/kH1qu29b3k=
=JNds
-----END PGP SIGNATURE-----