RE: [squid-users] logging authenticated users

From: Mrvka Andreas <[email protected]>
Date: Mon, 12 Aug 2002 12:13:06 +0200

well, it seems that I have no other choise as to write an authentication
routine which logs if a user enters username+pwd, stores it in a cookie
and in a database and check every minute if the user is still surfing.

or how should I check if the user is still online?
why doesn't exist these external_auth?
am I the only one how has such a problem?

thankx for help.
Andreas


-----Original Message-----
From: Hermann Strassner [mailto:hermann.strassner@hama.de]
Sent: Monday, August 12, 2002 11:04 AM
To: Squid Mailinglist
Subject: RE: [squid-users] logging authenticated users


> i am worrying about logging the usernames in squid!
> in my company i have to authenticate users and log them at the squid log
> HOW LONG they surf! i need statistics.

I think it is not possible the way you want. "surfing" is not a session with
start and end, instead it is a line of single requests. In the log file you
get the time of the requests. You can write a tool, that analyses the log
file and takes the time of the first request as start and the time for the
last request plus a timeout of for example 5 minutes as an end. So you have
the times. But keep in Mind that some tools update automatically some pages
or does check via Internet, for example MS Updater, so some employees surf
24 hours a day.

Hermann

Received on Mon Aug 12 2002 - 04:13:11 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:35 MST