Search squid archive

Re: log clients ip from helper program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-08-10 at 14:57 +0700, Beast wrote:

> Is there any way to log client's IP from within a helper program.

Not from within auth helpers no. The data isn't send there as the
authentication scheme cache does not account for the client IP, only the
login+password so having the IP sent would confuse some helper authors
into thinking that the IP could be used as part of the authentication
process.

> I want to log sucessfull/failed authentication and IP of the client.

This is logged in access.log. A 407 with a username is a failed login.
Anything else with a username is a successful login. Requests without a
username is not authenticated at all.

Regards
Henrik


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux