Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 1 | This module matches at a limited rate using a token bucket filter. |
| 2 | A rule using this extension will match until this limit is reached |
| 3 | (unless the `!' flag is used). It can be used in combination with the |
| 4 | .B LOG |
| 5 | target to give limited logging, for example. |
| 6 | .TP |
Jan Engelhardt | 2d8f775 | 2010-01-19 18:18:24 +0100 | [diff] [blame^] | 7 | \fB\-\-limit\fP \fIrate\fP[\fB/second\fP|\fB/minute\fP|\fB/hour\fP|\fB/day\fP] |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 8 | Maximum average matching rate: specified as a number, with an optional |
| 9 | `/second', `/minute', `/hour', or `/day' suffix; the default is |
| 10 | 3/hour. |
| 11 | .TP |
Jan Engelhardt | fea74bf | 2009-01-12 04:53:18 +0100 | [diff] [blame] | 12 | \fB\-\-limit\-burst\fP \fInumber\fP |
Henrik Nordstrom | c279413 | 2004-01-22 15:04:24 +0000 | [diff] [blame] | 13 | Maximum initial number of packets to match: this number gets |
| 14 | recharged by one every time the limit specified above is not reached, |
| 15 | up to this number; the default is 5. |