summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_set.man
diff options
context:
space:
mode:
authorJoszef Kadlecsik <kadlec@blackhole.kfki.hu>2004-12-01 09:11:33 +0000
committerJoszef Kadlecsik <kadlec@blackhole.kfki.hu>2004-12-01 09:11:33 +0000
commitb9a4938640a631a281f805d1dca343651c8d4a20 (patch)
tree5417a23ae366ae2c2c0a2d77f625d0ab2772b66f /extensions/libipt_set.man
parent7dc57e2933f0d6eeefb7c6d937c56655e5d1c9ea (diff)
ipset 2 related updates (JK)
Diffstat (limited to 'extensions/libipt_set.man')
-rw-r--r--extensions/libipt_set.man17
1 files changed, 17 insertions, 0 deletions
diff --git a/extensions/libipt_set.man b/extensions/libipt_set.man
new file mode 100644
index 00000000..d280577d
--- /dev/null
+++ b/extensions/libipt_set.man
@@ -0,0 +1,17 @@
+This modules macthes IP sets which can be defined by ipset(8).
+.TP
+.BR "--set " "setname flag[,flag...]"
+where flags are
+.BR "src"
+and/or
+.BR "dst"
+and there can be no more than six of them. Hence the command
+.nf
+ iptables -A FORWARD -m set --set test src,dst
+.fi
+will match packets, for which (depending on the type of the set) the source
+address or port number of the packet can be found in the specified set. If
+there is a binding belonging to the mached set element or there is a default
+binding for the given set, then the rule will match the packet only if
+additionally (depending on the type of the set) the destination address or
+port number of the packet can be found in the set according to the binding.