RE: [squid-users] logging authenticated users

From: Mrvka Andreas <mrv@dont-contact.us>
Date: Mon, 12 Aug 2002 13:16:18 +0200

ok.

i got from many sides the info not to proceed with this project.
i'll explain it to my boss and he has to agree with me.
i will count the amount of transmitted bytes from that user
and that should be enough.

thanks for help so far...
Andreas

-----Original Message-----
From: Markus.Rietzler@rzf.fin-nrw.de
[mailto:Markus.Rietzler@rzf.fin-nrw.de]
Sent: Monday, August 12, 2002 12:55 PM
To: mrv@tuev-a.at; hermann.strassner@hama.de
Cc: squid-users@squid-cache.org
Subject: AW: [squid-users] logging authenticated users


there is no reasonable way to do this.
how will you deal with things like this:

i am loggin on to squid to start surfing the internet,
i then receive a phone call, and try to solve a problem,
the call lasts 30 minutes, i still was logged on the internet,
i have minimized my browser window. so what will the stats say?

i was surfing over 30 minutes. thats wrong (!) i only open a page
and then i stopped surfing as i was to answer the phone call...

you can have statistics what urls the users accessing (normally
there should be a column username in the access.log of squid like

1029141505.270 9 123.45.67.89 TCP_NEGATIVE_HIT/503 1225 GET http://foo/
UID NONE/- text/html

see UID. you can only say that at a certain time a certain user was
accessing a page,
but not how long does he looked on that page....

Markus Rietzler
* <rietzler_software/>
* RZF NRW
* Tel: 0211.4572-130



-----Ursprüngliche Nachricht-----
Von: Mrvka Andreas [mailto:mrv@tuev-a.at]
Gesendet am: Montag, 12. August 2002 12:13
An: Hermann Strassner
Cc: squid-users@squid-cache.org
Betreff: RE: [squid-users] logging authenticated users

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 - 05:16:22 MDT

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