Re: [squid-users] proxy_auth & tcp_outgoing_address

From: Henrik Nordström <hno@dont-contact.us>
Date: Mon, 15 Jul 2002 14:48:02 +0200

Using proxy_auth in tcp_outgoing_address does not yet work. Please register a
bugzilla entry, and add a note to bugzilla entry 164 with a reference to your
entry..

Regards
Henrik

Nick Maslov wrote:
> Hi!
>
> I try to separate requests (between external channels) by user name:
>
> acl users proxy_auth user1
> acl power proxy_auth user2
>
> http_access allow power
> http_access allow users
>
> tcp_outgoing_address 10.0.0.1 users
> tcp_outgoing_address 10.0.0.2 power
> tcp_outgoing_address 10.0.0.3
>
> All requests go from address 10.0.0.3
>
> In cache.log:
>
> === Cut ===
> 2002/07/13 21:04:49| aclCheck: checking 'http_access allow power'
> 2002/07/13 21:04:49| aclMatchAclList: checking power
> 2002/07/13 21:04:49| aclMatchAcl: checking 'acl power proxy_auth
> "/usr/local/squid/etc/power"'
> 2002/07/13 21:04:49| authenticateAuthenticate: header Basic dXNlcjI6MTEx.
> 2002/07/13 21:04:49| authenticateAuthenticate: This is a new checklist
> test on FD:17
>
> >2002/07/13 21:04:49| authenticateAuthenticate: no connection
>
> authentication type
> 2002/07/13 21:04:49| authenticateAuthUserRequestLock auth_user request
> '0x8539190'.
> 2002/07/13 21:04:49| authenticateAuthUserRequestLock auth_user request
> '0x8539190' now at '1'.
> 2002/07/13 21:04:49| authenticateDecodeAuth: header = 'Basic dXNlcjI6MTEx'
> 2002/07/13 21:04:49| authenticateBasicDecodeAuth: cleartext =
> 'user2:<coolpassword>'
> 2002/07/13 21:04:49| authBasicAuthUserFindUsername: Looking for user
> 'user2'
> 2002/07/13 21:04:49| authBasicDecodeAuth: Found user 'user2' in the user
> cache as '0
> [skip]
> 2002/07/13 21:04:49| aclMatchAclList: checking power
> 2002/07/13 21:04:49| aclMatchAcl: checking 'acl power proxy_auth
> "/usr/local/squid/etc/power"'
>
> >2002/07/13 21:04:49| authenticateAuthenticate: no connection data, cannot
>
> process authentication
>
> >2002/07/13 21:04:49| aclMatchAcl: returning 0 user authenticated but not
>
> authorised.
> 2002/07/13 21:04:49| aclMatchAclList: returning 0
> 2002/07/13 21:04:49| aclMatchAclList: returning 1
> === Cut ===
>
> Why?
>
> P.S. NCSA authentication, squid-2.5PRE8, FreeBSD 4.4-RELEASE.

-- 
Basic free Squid support provided thanks to MARA Systems AB
Your source of advanced reverse proxy solutions or customized
Squid solutions. http://www.marasystems.com/products/
Received on Mon Jul 15 2002 - 06:48:19 MDT

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