Thanks for the pointer Eliezer. I installed it on an Ubuntu 20 machine and 
tried but it didn't seem to work:
 root@ub20-srv1:~# squidclient -h squid.mydomain.com mgr:client_listHTTP/1.0 
403 ForbiddenServer: squid/2.6.STABLE13Date: Tue, 31 Aug 2021 14:45:09 
GMTContent-Type: text/htmlContent-Length: 1115Expires: Tue, 31 Aug 2021 
14:45:09 GMTX-Squid-Error: ERR_ACCESS_DENIED 0X-Cache: MISS from 
squid.mydomain.com Via: 1.0 squid.mydomain.com:3128 
(squid/2.6.STABLE13)Proxy-Connection: close
root@ub20-srv1:~# squidclient -h squid.mydomain.com  mgr:infoHTTP/1.0 403 
ForbiddenServer: squid/2.6.STABLE13Date: Tue, 31 Aug 2021 14:46:33 
GMTContent-Type: text/htmlContent-Length: 1101Expires: Tue, 31 Aug 2021 
14:46:33 GMTX-Squid-Error: ERR_ACCESS_DENIED 0X-Cache: MISS from 
squid.mydomain.com Via: 1.0 squid.mydomain.com:3128 
(squid/2.6.STABLE13)Proxy-Connection: close
Although the proxy function seems to be working, but I cannot get the "mgr" 
function to work:
root@ub20-srv1:~# squidclient -h squid.mydomain.com -v 
http://vmware.comRequest:GET http://vmware.com HTTP/1.0Host: 
vmware.comUser-Agent: squidclient/4.10Accept: */*Connection: close.
HTTP/1.0 301 Moved PermanentlyLocation: https://www.vmware.com/Content-Length: 
0X-Cache: MISS from squid.mydomain.com Via: 1.0 squid.mydomain.com:3128 
(squid/2.6.STABLE13)Proxy-Connection: close




    On Monday, August 30, 2021, 02:56:29 PM GMT+3, NgTech LTD 
<ngtech1...@gmail.com> wrote:  
 
 
Hey Uzee,
You can use squidclient from another machine to access this machine.I do not 
remember how by heart but Amos might know if I am guessing right.
Eliezer
בתאריך יום ב׳, 30 באוג׳ 2021, 14:44, מאת U Zee ‏<uzee...@yahoo.com>:

 <sigh> I know and sadly installing it is not possible either. Without going 
into the details too much, its a machine with a legacy environment where yum 
and some other tools are broken and people who knew about the configs are long 
gone.
    On Monday, August 30, 2021, 01:29:47 PM GMT+3, Amos Jeffries 
<squ...@treenet.co.nz> wrote:  
 
 On 30/08/21 10:18 pm, U Zee wrote:
> Thanks Amos. I don't think the clientdb features you mentioned are 
> enabled, I'm getting a command not found.
> Also I don't see anything configured for logging in squid.conf (I don't 
> know if there is any other place for it)
> 
> bash-3.00# ps -ef|grep squid
> root      2467     1  0  2020 ?        00:00:00 /usr/squid/sbin/squid
> nobody    2471  2467  0  2020 ?        07:49:45 (squid)
> root     28018 20110  0 13:12 pts/0    00:00:00 grep squid
> 
> bash-3.00# /usr/squid/sbin/squid -v
> Squid Cache: Version 2.6.STABLE13
> configure options: '--prefix=/usr/squid' 'CC=gcc' 'CFLAGS=-O3 -g'
> 
> bash-3.00# squidclient mgr:client_list | grep "Address"
> bash: squidclient: command not found

That is the squidclient tool missing on your machine.

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

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

Reply via email to