Re: [squid-users] limit maxconn

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 27 Jan 2012 15:40:18 +1300

On 27/01/2012 2:46 p.m., Carlos Manuel Trepeu Pupo wrote:
> I have squid 3.0 STABLE1 giving service to 340 clients. I need to
> limit the maxconn to 20, but I need to know if I put 192.168.10.0/24
> will limit each IP to 20 or the entire /24 to 20. In case that the
> rule it's for the entire /24, so I need to create the rule for each IP
> ?

Put "192.168.10.0/24" where exactly?
   In the maxconn ACL? Wont work, maxconn takes a single value.
   In a separate unrelated src ACL? notice how src != maxconn. And its
test result is equally independent when tested. src looks for an
individual IP (the packet src IP) in a set.

Amos
Received on Fri Jan 27 2012 - 02:40:52 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 28 2012 - 12:00:03 MST