summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/payload-expression.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/payload-expression.txt b/doc/payload-expression.txt
index a2284ce8..eb98e5d7 100644
--- a/doc/payload-expression.txt
+++ b/doc/payload-expression.txt
@@ -619,5 +619,13 @@ integer (64 bit)
|zone|
conntrack zone |
integer (16 bit)
+|count|
+count number of connections
+integer (32 bit)
|==========================================
A description of conntrack-specific types listed above can be found sub-section CONNTRACK TYPES above.
+
+.restrict the number of parallel connections to a server
+--------------------
+filter input tcp dport 22 meter test { ip saddr ct count over 2 } reject
+--------------------