blob: 9f51ce3c9d86b86ad4d2c5daae4d219d3f1d8e3e [file] [log] [blame]
Henrik Nordstromc2794132004-01-22 15:04:24 +00001This module matches at a limited rate using a token bucket filter.
2A 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
5target to give limited logging, for example.
6.TP
Jan Engelhardt2d8f7752010-01-19 18:18:24 +01007\fB\-\-limit\fP \fIrate\fP[\fB/second\fP|\fB/minute\fP|\fB/hour\fP|\fB/day\fP]
Henrik Nordstromc2794132004-01-22 15:04:24 +00008Maximum average matching rate: specified as a number, with an optional
9`/second', `/minute', `/hour', or `/day' suffix; the default is
103/hour.
11.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010012\fB\-\-limit\-burst\fP \fInumber\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +000013Maximum initial number of packets to match: this number gets
14recharged by one every time the limit specified above is not reached,
15up to this number; the default is 5.