|
|
|
|
 Squid代理限制单个IP的最大连接数 - lincio [ 2005-08-04 13:58 | 21 byte(s)]
 Re: Squid代理限制单个IP的最大连接数 - lincio [ 2005-08-04 14:59 | 597 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
Acl Type: maxconn
Description
A limit on the maximum number of connections from a single client IP address. It is an ACL that will be true if the user
has more than maxconn connections open. It is used in http_access to allow/deny the request just like all the other acl
types.
Example
acl someuser src 1.2.3.4
acl twoconn maxconn 5
http_access deny someuser twoconn
http_access allow !twoconn
Note
maxconn acl requires client_db feature, so if you disabled that (client_db off) maxconn won't work.
|
|
|
[Original]
[Print]
[Top]
|
|
|