summaryrefslogtreecommitdiff
path: root/ebtables.8
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2004-10-23 11:20:34 +0000
committerBart De Schuymer <bdschuym@pandora.be>2004-10-23 11:20:34 +0000
commit1b4ccfa221a3bd538109eceafed1e9c8c0951156 (patch)
treebfa0bb3054a650009887de7816ab7f20346f4e5f /ebtables.8
parentaef08947f59cab26a6ff85578730af7c96bd4fc1 (diff)
downloadebtables-1b4ccfa221a3bd538109eceafed1e9c8c0951156.tar.gz
ebtables-1b4ccfa221a3bd538109eceafed1e9c8c0951156.tar.bz2
ebtables-1b4ccfa221a3bd538109eceafed1e9c8c0951156.zip
add limit entry
Diffstat (limited to 'ebtables.8')
-rw-r--r--ebtables.818
1 files changed, 18 insertions, 0 deletions
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]"