Search squid archive

Disable authentication for squidclient

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

 



Hi All,
 
               I have been running a squid proxy 4.9 compiled version for my users externally domain accessibility with authentication enabled. now I want to check my proxy stats via squidclient cache manager.  when I tried to run this command in my proxy server it throws 407 authentication required error.  Is it possible to disable authentication for this operation alone 


~/squid_4.9/bin>./squidclient -p 8080 mgr:info
HTTP/1.1 407 Proxy Authentication Required
Server: squid/4.9
Mime-Version: 1.0
Date: Tue, 28 Jul 2020 07:28:47 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 1661
X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
X-Cache: MISS from x.x.x.x
Via: 1.1 172.20.24.39 (squid/4.9)
Connection: close

When I send a connection with authentication, it throws 400 bad request 

squid_4.9/bin>./squidclient -p 8080 mgr:info -u zorro
proxy password:
HTTP/1.1 400 Bad Request
Server: squid/4.9
Mime-Version: 1.0
Date: Tue, 28 Jul 2020 07:30:46 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 1661
X-Squid-Error: ERR_INVALID_URL 0
X-Cache: MISS from x.x.x.x
Via: 1.1 172.20.24.39 (squid/4.9)
Connection: close


Kindly let me know if there is any way to get squid stats via squid client  without authentication. 
--
Thanks & Regards
Sankaranarayanan.S
_______________________________________________
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