Search squid archive

Re: authentication ip ttl reset

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

 



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


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

  Powered by Linux