summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-07-05 17:58:45 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-07-05 17:58:45 +0200
commit3562ca2e16cac2af2ac6f344ba462b40a05d370f (patch)
treedff0dc3a3f620d5726cec61347cb998a0b7651a0 /qa
parentc93ff79c70e1595af94abbadce685087f702c39b (diff)
downloadconntrack-tools-3562ca2e16cac2af2ac6f344ba462b40a05d370f.tar.gz
conntrack-tools-3562ca2e16cac2af2ac6f344ba462b40a05d370f.zip
conntrack: add zone support
This patch adds `--zone' to the command line tool. This adds the missing user-space support for Patrick's McHardy iptables CT target. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'qa')
-rw-r--r--qa/testsuite/04zone8
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/testsuite/04zone b/qa/testsuite/04zone
new file mode 100644
index 0000000..4ff3d34
--- /dev/null
+++ b/qa/testsuite/04zone
@@ -0,0 +1,8 @@
+# create dummy
+-I -s 1.1.1.1 -d 2.2.2.2 -p tcp --sport 10 --dport 20 --state LISTEN -u SEEN_REPLY -t 50 --zone 1; OK
+# display dummy
+-L --zone 1; OK
+# display dummy
+-L --zone 0; OK
+# delete dummy
+-D --zone 1; OK