Problem with cache_object requests...

From: Michael Pelletier <mikep@dont-contact.us>
Date: Mon, 22 Sep 1997 14:22:38 -0400 (EDT)

I'm a little puzzled here. I'm trying to get get_squid_uptime with MRTG
to work correctly. I have the following lines in my squid.conf:

cachemgr_passwd none info
acl localhost src 127.0.0.1/255.255.255.255
acl manager proto cache_object
acl all src 0.0.0.0/0.0.0.0

http_access allow manager all localhost
 [... permit my local network ...]
http_access deny all

--------
And using the cachemanager interface CGI, I can get results like this in
the log file:

874951919.020 5 130.211.5.19 TCP_MISS/000 2131 GET
        cache_object://proxy.comshare.com/info@ - NONE/- -

The IP address here is one of the IP addresses of the machine on which
Squid is running. However, when I use ./get_squid_uptime, it comes back
with:

874952071.123 3 127.0.0.1 TCP_DENIED/400 540 GET
        cache_object://proxy.comshare.com/info@ - NONE/- -

and as you see it's using the 127.0.0.1 address. What I can't figure out
is why this address is being denied, when I seem to have it very clearly
permitted in the acl.

Any suggestions?

        -Mike Pelletier.
Received on Mon Sep 22 1997 - 11:27:18 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:07 MST