[squid-users] Manager access for statistics

Amos Jeffries squid3 at treenet.co.nz
Mon Oct 30 17:16:01 UTC 2017


On 30/10/17 12:01, James Moe wrote:
> On 10/29/2017 04:54 AM, Amos Jeffries wrote:
>>
>>
>> What does access.log show for the manager request?
>> The above port is IPv6-enabled but the manager_admin ACL only allows an
>> IPv4.
>>
> 1509311060.445     15 192.168.69.115 TCP_MISS/403 4464 GET
> http://proxy1.sma.com:3128/squid-internal-mgr/info -
> HIER_DIRECT/192.168.69.246 text/html
> 1509311060.822      0 192.168.69.115 TCP_IMS_HIT/304 311 GET
> http://sma-server3:3128/squid-internal-static/icons/SN.png - HIER_NONE/-
> image/png
> 

Responses which are generated by your Squid will all have that 
"HEIR_NONE/-" tag on their access.log lines. Because Squid generated the 
response no upstream server was involved.


The manager report request got passed on upstream to some server at 
192.168.69.246 which appears to think its public domain name / hostname 
is "sma-server3".

Between them these entries appear to be saying that you have very 
probably configured the Squid machines host name as "sma-server3" 
instead of "proxy1.sma.com". That would make the mgr request is enter a 
forwarding loop when your Squid passes it on instead of generating the 
wanted report.


Amos


More information about the squid-users mailing list