diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-03 18:23:18 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-11 20:05:47 +0200 |
commit | b716c2b48a77fd0c01be128d704d9cd2cd5243b3 (patch) | |
tree | 04d72a0577d2fa793ecddf34db362c290bdb0e25 /tests/regression/any/ct.t | |
parent | 4bfcee9847fa4d45685638cb505782bcd6ee2853 (diff) |
tests: add concatenations and maps; combine them too
This patch adds simple tests for concatenation and maps, including more
advanced tests that combine them.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/regression/any/ct.t')
-rw-r--r-- | tests/regression/any/ct.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/regression/any/ct.t b/tests/regression/any/ct.t index 6ec05261..ab4b167d 100644 --- a/tests/regression/any/ct.t +++ b/tests/regression/any/ct.t @@ -105,3 +105,8 @@ ct helper "12345678901234567";fail # <cmdline>:1:37-39: Error: datatype mismatch, expected invalid, expression has type Internet protocol # add rule ip test input ct proto-dst udp # ~~~~~~~~~~~~ ^^^ + +ct state . ct mark { new . 0x12345678};ok +ct state . ct mark { new . 0x12345678, new . 0x34127856, established . 0x12785634};ok +ct direction . ct mark { original . 0x12345678};ok +ct state . ct mark vmap { new . 0x12345678 : drop};ok |