]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: add test-cases for ct and packet mark payload expressions
authorJeremy Sowden <jeremy@azazel.net>
Fri, 17 Mar 2023 09:16:48 +0000 (10:16 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 28 Mar 2023 08:26:34 +0000 (10:26 +0200)
commit8221d86e616bdd5e9828c3eefb7cfb9abc3d211a
treeca2efe4991e9948aeac944d7be8282b5d8653c99
parent6696599e104098b61e45f99d161275883885b199
tests: py: add test-cases for ct and packet mark payload expressions

Add new test-cases to verify that defining a rule that sets the ct or
packet mark to a value derived from a payload works correctly.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
12 files changed:
tests/py/ip/ct.t
tests/py/ip/ct.t.json
tests/py/ip/ct.t.payload
tests/py/ip/meta.t
tests/py/ip/meta.t.json
tests/py/ip/meta.t.payload
tests/py/ip6/ct.t [new file with mode: 0644]
tests/py/ip6/ct.t.json [new file with mode: 0644]
tests/py/ip6/ct.t.payload [new file with mode: 0644]
tests/py/ip6/meta.t
tests/py/ip6/meta.t.json
tests/py/ip6/meta.t.payload