[squid-users] squidclient -h 127.0.0.1 -p 3128 mgr:info shows access denined

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon Aug 5 13:08:07 UTC 2024


On 01.08.24 13:14, Jonathan Lee wrote:
>cachemgr_passwd
>does not allow the ability to add a username right?

This has been answered multiple times, but perhaps logs in the flood of 
mail:

You can use any username because it is ignored.

Please, check your config once more.

Is it possible that you (indirectly) deny access to cache manager before you allow 
it, thus it's always refused?

Don't you have line that denies access from the machine you try to access 
before config lines like these?

# grep \^http_access /etc/squid/squid.conf

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access allow manager <machine>
http_access deny manager
http_access deny to_localhost
http_access allow <...>
http_access deny all


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod


More information about the squid-users mailing list