blob: c00e1d94e3b574d287f8c36e20ca92b819d3f080 [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 Engelhardtfea74bf2009-01-12 04:53:18 +01007[\fB!\fP] \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.