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

Matus UHLAR - fantomas uhlar at fantomas.sk
Wed Jul 10 16:35:04 UTC 2024


On 10.07.24 09:33, Jonathan Lee wrote:
>To: Matus UHLAR - fantomas <uhlar at fantomas.sk>

please avoid personal copies.

>I have it says denied as if it requires an entry for one to use password, again if I remove the password the same thing happens. Weird right? Could WPAD cause this?

what exactly did you run?
show us complete command line, just replace password with "redacted"

And note that I'm guessing as well, since I dont run squid 6 (yet).

>> On Jul 10, 2024, at 09:21, Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote:
>>
>> On 10.07.24 08:52, Jonathan Lee wrote:
>>> That makes sense, I only had a password in the previous version, how do I add username admin for cachemgr?
>>
>> you don't, that's why I said "username was not important"
>> simply try random username
>>
>>>>> On Jul 10, 2024, at 04:29, Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote:
>>>>
>>>>>> On 2024-07-08, Jonathan Lee <jonathanlee571 at gmail.com> wrote:
>>>>>> squidclient -h 192.168.1.1:3128 mgr:info at PASSWORD squidclient -h
>>>>>> 1287.0.0.1 mgr:info at PASSWORD
>>>>>>
>>>>>> Gives the following error
>>>>>>
>>>>>> Embedding a password in a cache manager command requires providing a =
>>>>>> username with -U: mgr:info at PASSWORDHERE
>>>>
>>>>> Try "/squid-internal-mgr/info" where you have "mgr:info".
>>>>
>>>>> On 09.07.24 16:30, jonathanlee571 at gmail.com wrote:
>>>>> Thanks that also gave the error access denied
>>>>
>>>> have you tried providing -U (and maybe -W) options to squidclient?
>>>> Because that one looks like squidclient error to me.
>>>>
>>>> in previous versions username was not important for manager queries, just the password, which should be either part of user or provided by -W option

-- 
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.
Support bacteria - they're the only culture some people have.


More information about the squid-users mailing list