]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: libipt_ECN: add unit test
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Sep 2012 16:27:32 +0000 (18:27 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 7 Oct 2013 14:35:49 +0000 (16:35 +0200)
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/libipt_ECN.t [new file with mode: 0644]

diff --git a/extensions/libipt_ECN.t b/extensions/libipt_ECN.t
new file mode 100644 (file)
index 0000000..2e09205
--- /dev/null
@@ -0,0 +1,5 @@
+:PREROUTING,FORWARD,OUTPUT,POSTROUTING
+*mangle
+-j ECN;;FAIL
+-p tcp -j ECN;;FAIL
+-p tcp -j ECN --ecn-tcp-remove;=;OK