diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-11-14 22:19:07 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-11-14 22:19:12 +0100 |
commit | a84921d7c0de950632ab4630dd4f7ad763e9e453 (patch) | |
tree | a2077597cf08c04df2066d1b21d60874f94d36c7 /tests | |
parent | 75bbb065740e184a8d910db014fdb8949cc5f18e (diff) |
src: add notrack support
This patch adds the notrack statement, to skip connection tracking for
certain packets.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/py/any/ct.t | 2 | ||||
-rw-r--r-- | tests/py/any/ct.t.payload | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/py/any/ct.t b/tests/py/any/ct.t index cc4f8e19..7cb49c26 100644 --- a/tests/py/any/ct.t +++ b/tests/py/any/ct.t @@ -101,3 +101,5 @@ ct invalid;fail ct invalid original;fail ct set invalid original 42;fail ct set invalid 42;fail + +notrack;ok diff --git a/tests/py/any/ct.t.payload b/tests/py/any/ct.t.payload index 746b75e3..26aeec31 100644 --- a/tests/py/any/ct.t.payload +++ b/tests/py/any/ct.t.payload @@ -341,3 +341,7 @@ ip test-ip4 output [ immediate reg 1 0x00000000 0x00000000 0x00000000 0x80000000 ] [ ct set label with reg 1 ] +# notrack +ip test-ip4 output + [ notrack ] + |