From 1b4ccfa221a3bd538109eceafed1e9c8c0951156 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sat, 23 Oct 2004 11:20:34 +0000 Subject: add limit entry --- ebtables.8 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ebtables.8 b/ebtables.8 index 41829b5..79014b6 100644 --- a/ebtables.8 +++ b/ebtables.8 @@ -561,6 +561,24 @@ The destination port or port range for ip protocols 6 (TCP) and 17 (UDP). The flag .B --ip-dport is an alias for this option. +.SS limit +This module matches at a limited rate using a token bucket filter. +A rule using this extension will match until this limit is reached. +It can be used with the +.B --log +watcher +to give limited logging, for example. Its use is the same as the limit +match of iptables. +.TP +.BR "--limit " "[\fIvalue\fP]" +Maximum average matching rate: specified as a number, with an optional +`/second', `/minute', `/hour', or `/day' suffix; the default is 3/hour. +.TP +.BR "--limit-burst " "[\fInumber\fP]" +Maximum initial number of packets to match: this number gets recharged by +one every time the limit specified above is not reached, up to this +number; the default is 5. +.SS pkttype .SS mark_m .TP .BR "--mark " "[!] [\fIvalue\fP][/\fImask\fP]" -- cgit v1.2.3