Re: AW: AW: [squid-users] Remote control of cachemgr.cgi

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 16 May 2001 23:13:03 +0200

You need to allow cacemgr access before you have your http_access rules
requiring proxy authentication.

--
Henrik Nordstrom
Squid Hacker
Rost, Werner wrote:
> 
> Activating "cachemgr_passwd none all" in squid.conf does not solve the
> problem.
> 
> What to do?
> 
> regards
> 
> Werner Rost, KIR
> Mannesmann Boge GmbH
> 
> Tel.: 0228/3825 420
> Fax:  0228/3825 398
> 
> -----Ursprüngliche Nachricht-----
> Von: Henrik Nordstrom [mailto:hno@hem.passagen.se]
> Gesendet am: Dienstag, 15. Mai 2001 10:07
> An: Rost, Werner
> Betreff: Re: AW: [squid-users] Remote control of cachemgr.cgi
> 
> Well, the client binary cannot easily send login information, so you
> have to allow localhost access to cachemgr functions without a password
> if you want to use it.
> 
> --
> Henrik Nordstrom
> Squid Hacker
> 
> Rost, Werner wrote:
> >
> > That does not work for me:
> >
> > GOAS03# ../bin/client mgr:
> > client: ERROR: Cannot connect to localhost:3128: Connection refused
> > GOAS03#
> >
> > GOAS03# ../bin/client -vp 8080 mgr: | more
> > HTTP/1.0 407 Proxy Authentication Required
> > Server: Squid/2.3.STABLE4
> > Mime-Version: 1.0
> > Date: Tue, 15 May 2001 07:48:12 GMT
> > Content-Type: text/html
> > Content-Length: 952
> > Expires: Tue, 15 May 2001 07:48:12 GMT
> > X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
> > Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
> > X-Cache: MISS from goas03
> > Proxy-Connection: close
> >
> > <HTML><HEAD>
> > <TITLE>ERROR: Cache Access Denied</TITLE>
> > </HEAD>
> > <BODY>
> > <H1>ERROR</H1>
> > <H2>Cache Access Denied</H2>
> > <HR>
> > <P>
> > While trying to retrieve the URL:
> > cache_object://localhost/
> > <P>
> > The following error was encountered:
> > <UL>
> > <LI>
> > <STRONG>
> > Cache Access Denied.
> > </STRONG>
> > </UL>
> > </P>
> >
> > <P>Sorry, you are not currently allowed to request:
> > <PRE>    cache_object://localhost/</PRE>
> > from this cache until you have authenticated yourself.
> > </P>
> >
> > <P>
> > You need to use Netscape version 2.0 or greater, or Microsoft Internet
> > Explorer 3.0, or an HTTP/1.1 compliant browser for this to work.  Please
> > contact the <A HREF="mailto:webmaster">cache administrator</a> if you have
> > difficulties authenticating yourself or
> > change your default
> > password.
> > </P>
> >
> > <br clear="all">
> > <hr noshade size=1>
> > Generated Tue, 15 May 2001 07:49:44 GMT by goas03 (Squid/2.3.STABLE4)
> > </BODY></HTML>
> > GOAS03#
> >
> > regards
> >
> > Werner Rost, KIR
> > Mannesmann Boge GmbH
> >
> > Tel.: 0228/3825 420
> > Fax:  0228/3825 398
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Henrik Nordstrom [mailto:hno@hem.passagen.se]
> > Gesendet am: Montag, 14. Mai 2001 23:32
> > An: LuisMi
> > Cc: squid-users@squid-cache.org
> > Betreff: Re: [squid-users] Remote control of cachemgr.cgi
> >
> > client mgr:
> >
> > gives you the menu. To access a specific menu entry use mgr:entryname
> >
> > Tables are tab separated, and you may need to postprocess them somewhat
> > to make them readable (especially the memory utilization table which
> > drifts quite a lot due to data not fitting within the screen tab sizes)
> >
> > --
> > Henrik Nordstrom
> > Squid Hacker
> >
> > LuisMi wrote:
> > >
> > > Hi,
> > >
> > > We are using SQUID in a router-firewall, we control that system with
> SSH,
> > > of course that system dont have any web sever installed so we are
> looking
> > > for a solution to view the stats of cachemgr.cgi.
> > >
> > > Anyone knows how to use cachemgr from command line?
> > >
> > > --
> > >
> > > LuisMi
> > >
> > > --------------------------------------------------------------
> > > Please answer me in text plain and use spanish if you can/want.
> > > Also please reply with the original text and subject.
> > > e-mail powered by Pine
> >
> > -----------------------------------------------------------
> > This Mail has been checked for Viruses
> > Attention: Encrypted Mails can NOT be checked !
> >
> > ***
> >
> > Diese Mail wurde auf Viren ueberprueft
> > Hinweis: Verschluesselte Mails koennen NICHT geprueft werden!
> > ------------------------------------------------------------
Received on Wed May 16 2001 - 16:09:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:09 MST