Re: authenticated user in denied log lines

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 28 Jul 1999 23:04:05 +0200

Steve Loughran wrote:
>
> System: 2.2.STABLE3 IRIX 6.2
>
> Hi all
>
> I have noticed that if a client is denied access to a site/url via an ACL,
> then the authenticated user does not appear in the log file entry. Is there
> anyway around this, some option that I may have missed?

Configure your access checks to have the users authenticated before they
are being denied access.

Example:

acl all src 0.0.0.0/0
acl authenticated_user proxy_auth REQUIRED
acl denied_site dst www.bad-site.com

# Require that the users authenticates themselves
http_access deny !authenticated_user
# Deny access to some site
http_access deny denied_site
# Users is allowed access unless denied above..
http_access allow all

--
Henrik Nordstrom
Spare time Squid hacker
Received on Wed Jul 28 1999 - 15:28:33 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:36 MST