This is a discussion on Re: [squid-users] maxconn acl setting?? within the Squid Users forums, part of the Web Server and Related Forums category; On Fri, 21 Nov 2003, Nikos Mouat wrote: > is it possible to add a maxconn such that any individual ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Fri, 21 Nov 2003, Nikos Mouat wrote:
> is it possible to add a maxconn such that any individual IPs within these > ranges are limitted to 100 or so connections, or does that apply to the > entire ACL?? You can combine maxconn with a src type acl to do pretty much anything you like along the lines discussed. acl limited_users_1 src .... acl maxconn_users_1 maxconn 100 http_access deny limited_users_1 maxconn_users_1 acl limited_users_2 src ... acl maxconn_users_2 maxconn 150 http_access deny limited_users_2 maxconn_users_2 etc for as many different maxconn levels you want to have.. > I don't want to have to add each IP as its own ACL. You never need to do that. The src acl type takes a list of IPs, IP-ranges and networks. If any matches the client IP then the acl is true. Regards Henrik |