Re: [squid-users] limit no of requests

From: Kinkie <kinkie-squid@dont-contact.us>
Date: Sat, 01 Jan 2005 17:26:27 +0100

On Sat, 2005-01-01 at 20:54 +0500, azeem ahmad wrote:
> Hi all !!
> I want to limit my clients to open a limited number of browsers(say
> 5) at a given time.I am using a squid-205.STABLE1-2 proxy on red hat 9 box
> with iptables, clients are Windows XP boxes mostly.
> is it possible to limit the no. of requests/browsers from a client at
> a given time
> plz help me out.

Detecting the number of open browsers is not possible at the HTTP
protocol level.

What you might do is installing some service on the client systems, then
write a squid redirector which queried that service (with something
similar to the IDENT protocol) and decided what to do.

What you _can_ do in your setup is (with certain limitations) limit the
amount of bandwidth that each client gets. See class 2 and class 3 delay
pools at http://www.squid-cache.org/Doc/FAQ/FAQ-19.html#ss19.8

        Kinkie
Received on Sat Jan 01 2005 - 09:14:45 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST