Search squid archive

Re: Banner page for certain users in squid

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

 



Henrik Nordstrom wrote:
On lör, 2007-09-22 at 00:02 +1200, Amos Jeffries wrote:
Henrik Nordstrom wrote:
On tor, 2007-09-20 at 10:45 +0800, Adrian Chadd wrote:
I run SARG against my access.log every day to get a list of top 30
users, and would like to know if there is a way of redirecting these top
30 users to a notice page upon first login in squid, where they are
notified of their high usage? After which they can continue surfing of
course.
I'm sure people have done it in the past. I've not done it. Henrik?
A acl containing these users combined with the session helper would do
the trick fine.
The idea behind most of these is that it a dynamic process rather than a fixed one and squid -k reconfigure is too chunky a process to want running every, say minute, to be fast enough.

Why would you be running "squid -k reconfigure" every minute for this?
Only needed when the list of users to alert changes..

And yes, even that can easily be eleminated by using a simple helper..

Oh, I didn't read the initial post too well. Missed the "every day" and jumped to the conclusion it was a live system like mine :-(. Here I check traffic counters in minutes and for a few other things on an order of "immediately" and acls HAVE to be dynamic enough to cope with changes at any time.
Prise Be, for whoever created the external acl types.

Amos

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

  Powered by Linux