Re: [squid-users] maxconn acl setting??

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-21-2003
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] maxconn acl setting??

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0