Re: [squid-users] log clients ip from helper program

From: Chris Robertson <crobertson@dont-contact.us>
Date: Fri, 11 Aug 2006 09:45:27 -0800

Beast wrote:
> Henrik Nordstrom wrote:
>> 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.
>>
>
> Thanks.
> However, it would be a usefull feature if we could use IP,
> username/password pair to authenticate user, so user could only use
> one username from one IP.
>
> --beast
Look into max_user_ip and authenticate_ip_ttl. If you want to limit
where each user can log in from, that is doable with ACLs.

Chris
Received on Fri Aug 11 2006 - 11:45:45 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT