Re: Privacy?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 03 Jul 1999 09:52:54 +0200

Gert-Jan Looy wrote:
>
> Dear list,
>
> When using proxy-auth in squid2.2, the username becomes
> visable in the access logfile.
> To avoid questions from various departments, I would rather
> have no client information available.
>
> Is there an option to suppress this?
> (like is posible with the clients ip-address)

No config option to do it at this time.

You can do it with a very simple change in src/acces_log.c:

change all (2) memBufPrintf references to
        al->cache.ident,
to
        "-",

or change
    if (!al->cache.ident || *al->cache.ident == '\0') {
to
    if (1) {

Any of these changes will force "-" to be logged as username, as is
logged when the username is unknown.

--
Henrik Nordstrom
Spare time Squid hacker
--
Henrik Nordstrom
Received on Sat Jul 03 1999 - 01:56:27 MDT

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