Re: [squid-users] How to do? authentication and ip-range

From: Lieven Marchand <lieven.marchand@dont-contact.us>
Date: 13 Mar 2003 11:31:10 +0100

"Tushar Gupta" <tushar@surevin.net> writes:

> Also is it possible to generate both start of session and end of session
> records using squid using any authentication mechanism. I am looking
> forward to do accounting based on number of hours of usage.

HTTP is inherently a stateless protocol and the client authenticates
to the proxy for every request. So there is no session or "end of
session". You can kludge things together on the basis of considering
each 5 minute period with at least one request part of an ongoing
session etc. but accounting based on the number of bytes transferred
seems more appropriate.

-- 
There is only one war, and it's not the rich against the poor,
the blacks against the whites, the Federation against the Borg,
or the Democrats versus the Republicans. It's those of us who
aren't complete idiots against those of us who are.
Received on Thu Mar 13 2003 - 03:31:29 MST

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