summaryrefslogtreecommitdiff
path: root/tests/conntrack/testsuite/01delete
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conntrack/testsuite/01delete')
-rw-r--r--tests/conntrack/testsuite/01delete6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/conntrack/testsuite/01delete b/tests/conntrack/testsuite/01delete
new file mode 100644
index 0000000..3c38ac5
--- /dev/null
+++ b/tests/conntrack/testsuite/01delete
@@ -0,0 +1,6 @@
+# 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 ; OK
+# delete bad source
+-D -s 2.2.2.2 -p tcp --sport 10 --dport 20 ; BAD
+# delete by source
+-D -s 1.1.1.1 ; OK