summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-07-16 14:04:10 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-07-16 14:04:10 +0200
commit7fb49101acfbec265e96c1d5e475c7051beece19 (patch)
treed955f49891d42e87c02295b7a14a896269c6c0bd /extensions
parent3ee90dffea02c9be38dca6544ad5f22d4467e334 (diff)
libxt_HMARK: fix ct case example
... -j HMARK --hmark-tuple ct,src,dst --hmark-offset 10000 ... Note `ct' requires also the tuples. Reported-by: Hans Schillstrom <hans@schillstrom.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_HMARK.man4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_HMARK.man b/extensions/libxt_HMARK.man
index 2b004b5a..0b418842 100644
--- a/extensions/libxt_HMARK.man
+++ b/extensions/libxt_HMARK.man
@@ -53,8 +53,8 @@ A 32 bit random custom value to feed hash calculation.
\fIExamples:\fP
.PP
iptables \-t mangle \-A PREROUTING \-m state \-\-state NEW
- \-j HMARK \-\-hmark-tuple ct \-\-hmark-offset 10000 \-\-hmark\-mod 10
-\-\-hmark\-rnd 0xfeedcafe
+ \-j HMARK \-\-hmark-tuple ct,src,dst,proto \-\-hmark-offset 10000
+\-\-hmark\-mod 10 \-\-hmark\-rnd 0xfeedcafe
.PP
iptables \-t mangle \-A PREROUTING -j HMARK \-\-hmark\-offset 10000
\-\-hmark-tuple src,dst,proto \-\-hmark-mod 10 \-\-hmark\-rnd 0xdeafbeef