Re: [squid-users] authentication / acl

From: Chris Knipe <savage@dont-contact.us>
Date: Wed, 11 May 2005 12:53:20 +0200

On Wed, May 11, 2005 at 11:25:49AM +0200, Chris Knipe wrote:
> On Wed, May 11, 2005 at 09:02:23PM +1200, D & E Radel wrote:
> > From: "Chris Knipe" <savage@savage.za.org>
> >
> > >I've written a custom authentication handler, which does seem to work.
> > >Reads
> > >from STDIN, Authenticates, and returns either OK or ERR on STDOUT back to
> > >squid.
> > >
> > >My next step, I want to allow a certain block of addresses http_acess,
> > >deny
> > >everyone else, but also allow any request that was successfully
> > >authenticated.
> > >
> > >I've got the following in squid.conf
> > >
> > ># Authentication scripts
> > >auth_param basic program /usr/local/libexec/squid/my_auth
> > ...
> > >A quick debug, shows that squid is never passing the information to the
> > >authentication
> > >script, so I'm not sure what I did wrong... My auth_param should be fine
> > >though, right???

Turned on some debugging... I am now seeing

2005/05/11 12:36:23| The request GET http://www.microsoft.com/ is DENIED, because it matched 'Authenticated'

What is weird is that squid will accept auth_param basic program, but it wont accept authenticate_program??

--
Chris.
Received on Wed May 11 2005 - 04:55:45 MDT

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