[squid-users] Re: Squid connection time calculation

From: Henrik Nordstrom <[email protected]>
Date: Thu, 27 Nov 2003 12:02:16 +0100 (CET)

On Wed, 26 Nov 2003, Abdul Khader wrote:

> I want to calculate the number of hours a user is using my proxy. I want
> to disconnect the user dynamically if he has used my proxy for 10 hours.
> Some one suggested me to make a custom auth program which has a
> database.

A external acl helper would be more suitable since Squid-2.5.

> This does not solve my problem. Even if I can make the auth program, I
> am unable to know when the user disconnected from my proxy.

Well HTTP is stateless and there is no connect/disconnect. You have to
approximate the usage time based on when the user is active or not.

Regards
Henrik
Received on Thu Nov 27 2003 - 04:03:18 MST

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