Re: [squid-users] authentication / acl

From: Chris Knipe <savage@dont-contact.us>
Date: Wed, 11 May 2005 13:16:00 +0200

On Wed, May 11, 2005 at 01:08:34PM +0200, Chris Knipe wrote:
> On Wed, May 11, 2005 at 11:01:13PM +1200, D & E Radel wrote:
> >
> > From: "Chris Knipe" <savage@savage.za.org>
> >
> > >root@pyro:/usr/local/libexec/squid# /usr/local/libexec/squid/cenergy_auth
> > ><username> <password>
> > >OK^C
> > >
> > >Squid does start the perl childs to run the script. I am however doubting
> > >that
> > >Squid actually sends the requests off to the script - the scripts never
> > >queries
> > >anything to the database when ran from squid ..... :(
> >
> >
> > What happens if you type:
> >
> > echo "username password" | /usr/local/libexec/squid/cenergy_auth
>
>
> root@pyro:~# echo "username password" | /usr/local/libexec/squid/cenergy_auth
> ERR
> root@pyro:~# echo "USER PASS" | /usr/local/libexec/squid/cenergy_auth
> OK
> root@pyro:~#

debug from ACLs...

2005/05/11 13:13:30| aclMatchAclList: checking all
2005/05/11 13:13:30| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0'
2005/05/11 13:13:30| aclMatchIp: '165.146.152.31' found
2005/05/11 13:13:30| aclMatchAclList: checking Authenticated
2005/05/11 13:13:30| aclMatchAcl: checking 'acl Authenticated proxy_auth REQUIRED'
2005/05/11 13:13:30| authenticateAuthenticate: broken auth or no proxy_auth header. Requesting auth header.
2005/05/11 13:13:30| aclMatchAcl: returning 0 sending authentication challenge.
2005/05/11 13:13:30| aclMatchAclList: no match, returning 0
2005/05/11 13:13:30| aclCheck: requiring Proxy Auth header.
2005/05/11 13:13:30| aclCheck: match found, returning 2
2005/05/11 13:13:30| aclCheckCallback: answer=2
^^^ and there it just sits....

--
Chris.
Received on Wed May 11 2005 - 05:18:26 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT