Search squid archive

Re: [squid-users] authentication / acl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
> > 
> > >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.



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux