Synopsis
Class of the delay pool used is defined using this tag. There must be exactly one delay_class line for each delay pool. There are five categories of delay classes.
class 1
|
Everything is limited by a single aggregate bucket. |
| class 2 |
Everything is limited by a single aggregate bucket as well as an “individual” bucket chosen from bits 25 through 32 of the IP
address. |
| class 3 |
Everything is limited by a single aggregate bucket as well as a “network” bucket chosen from bits 17 through 24 of the
IP address and a “individual” bucket chosen from bits 17 through 32 of the IP address. |
| class 4 |
Everything in a class 3 delay pool, with an additional limit on a per user basis. This only takes effect if the username is
established in advance – by forcing authentication in your http_access rules. |
| class 5 |
Requests are grouped according their tag (see external_acl tag= reply). |
If an IP address is a.b.c.d
-> bits 25 through 32 are “d”
-> bits 17 through 24 are “c”
-> bits 17 through 32 are “c * 256 + d”
Arguments
pool-number
|
Delay pool number
|
class-number
|
Delay class number
|
Example(s)
delay_pools 2
delay_class 1 2 ( pool 1 is a class 2 pool)
delay_class 2 3 ( pool 2 is a class 3 pool) |