Re: [squid-users] maxconn semantics

From: damk <dwi_amk@dont-contact.us>
Date: Wed, 14 Jan 2004 06:42:04 +0700

This is better:
acl yournet src xxx.xxx.xxx.xxx
acl connlimit maxconn 2
http_access allow yournet !connlimit
http_access deny all

Cheers,
.::DAMK::.

On Tue, 13 Jan 2004 15:21:44 -0800 (PST), Paul <paul@oz.net> wrote:

> I'd like to limit the total number of connections from anywhere,
> and would like some clarification. For example, with the following:
>
> acl connlimit maxconn 2
> http_access deny all connlimit
> http_access allow !connlimit
>
> I can establish at most 2 connections from one IP number.
> So far so good. But if I come in from another IP number, I can
> establish additional connections, leading me to believe that the
> *total* number of connections allowed is essentially unlimited.
>
> What am I doing wrong? Thanks,
>
> -- Paul
>
>

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Received on Tue Jan 13 2004 - 16:42:21 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:06 MST