[squid-users] Re: maxconn

From: Adam Aube <aaube01@dont-contact.us>
Date: Tue, 27 Jul 2004 14:11:07 -0400

Sergey Matveychuk wrote:

> Just tell me how it must work?

> acl localnet src 172.16.0.0/19
> acl conn_15 maxconn 15
> http_access deny localnet conn_15

> It looks like it limits connections to 15 from all 172.16.0.0/19.
> It's not possible to limit connection numbers from one IP?

With those acls, each address in the 172.16.0.0/19 range will have its own
limit of 15 connections to the proxy.

If you want to give different address different connection limits, or give
connection limits to only a few IP addresses, you will need multiple acl
sets, as has already been pointed out.

Adam
Received on Tue Jul 27 2004 - 12:11:19 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT