blob: 6fb94ccf703b810383e953ef3288f39c5caf98ab [file] [log] [blame]
Henrik Nordstromc2794132004-01-22 15:04:24 +00001This module matches at a limited rate using a token bucket filter.
Jan Engelhardtc2efcd32011-02-17 14:56:05 +01002A rule using this extension will match until this limit is reached.
3It can be used in combination with the
Henrik Nordstromc2794132004-01-22 15:04:24 +00004.B LOG
5target to give limited logging, for example.
Jan Engelhardtc2efcd32011-02-17 14:56:05 +01006.PP
7xt_limit has no negation support - you will have to use \-m hashlimit !
8\-\-hashlimit \fIrate\fP in this case whilst omitting \-\-hashlimit\-mode.
Henrik Nordstromc2794132004-01-22 15:04:24 +00009.TP
Jan Engelhardt2d8f7752010-01-19 18:18:24 +010010\fB\-\-limit\fP \fIrate\fP[\fB/second\fP|\fB/minute\fP|\fB/hour\fP|\fB/day\fP]
Henrik Nordstromc2794132004-01-22 15:04:24 +000011Maximum average matching rate: specified as a number, with an optional
12`/second', `/minute', `/hour', or `/day' suffix; the default is
133/hour.
14.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010015\fB\-\-limit\-burst\fP \fInumber\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +000016Maximum initial number of packets to match: this number gets
17recharged by one every time the limit specified above is not reached,
18up to this number; the default is 5.