Re: [squid-users] How to log IP address after successful authentication

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 16 Mar 2014 13:59:02 +1300

On 16/03/2014 7:00 a.m., divispa wrote:
> Hi all,
> I need save IP address after successful authentication to log file, but I
> need only one record per authenticated user. I have username and password
> save in file therefore I would like to use NCSA_auth but I dont know how
> to get IP address in plugin. Second solution that I tried to use are
> external ACLs but there are no way how to get password to my auth plugin.
> Does anyone have any advice on how to save IP address after successful
> authentication???
>

There are solutions to each of yrou questions. But before I write them
can you please explain a bit what you are trying to do with this IP address?

I get the impression you are trying to do something with security based
on the wrong assumption that each user has only 1 IP address.

Amos
Received on Sun Mar 16 2014 - 00:59:09 MDT

This archive was generated by hypermail 2.2.0 : Sun Mar 16 2014 - 12:00:05 MDT