Re: [squid-users] authentication ip ttl reset

From: Bgs <bgs@dont-contact.us>
Date: Tue, 07 Aug 2007 09:45:34 +0200

nm, I just noticed that the section in authenticate.c is single user only :)

Bgs wrote:
>
> I did a quick 3-4 minute skim through of the source. The solution
> doesn't seem to be difficult, but I may be wrong due to the haste. Would
> any of the more seasoned squid developers tell me if this approach would
> work:
>
>
> authenticate.c line 286:
>
> - } else if (ipdata->ip_expiretime + Config.authenticateIpTTL <
> squid_curtime) {
> + } else if ( (ipdata->ip_expiretime + Config.authenticateIpTTL <
> squid_curtime) || (auth_reset) ) {
> /* This IP has expired - remove from the seen list */
> authenticateAuthUserRemoveIpEntry(auth_user, ipdata);
> + auth_reset=0;
> }
> }
>
>
>
>
> main.c line 812:
>
> if (do_reconfigure) {
> mainReconfigure();
> do_reconfigure = 0;
> + auth_reset = 1;
> } else if (do_rotate) {
>
>
>
>
> with an int auth_reset=0 placed in the appropriate place.
>
> Adrian Chadd wrote:
>> On Mon, Aug 06, 2007, Bgs wrote:
>>> Hi,
>>>
>>> Thanks for the tip but reconfigure does not help. I will try to get
>>> some time and make a patch for it some day. Until then, service
>>> outages... :(
>>
>> * Would anyone like to donate to the Squid project to see this get done?
>> * Assuming a donation or two takes place, would anyone like a t-shirt for
>> this? :) (I've offered T-Shirts for various other bits and pieces but
>> noone yet has completed any of the tasks!)
>>
>>
>>
>>
>> Adrian
>>
Received on Tue Aug 07 2007 - 01:49:25 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT