Skip to content

add ct expectations support

Stéphane Veyret netfilter-devel 7 versions – Applied

Status from this message: Applied, thanks Stephane.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest posting 2/21 patch 5 repliesApplied
  2. v4 posting 3/31 patch 5 repliesSuperseded
  3. v4 posting 2/32 patches 4 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v5 posting 1/21 patch2 repliesApplied
v4 posting 1/31 patch1 replySuperseded
v32 patches0 repliesSuperseded
v12 patches0 repliesSuperseded

Patches in v5 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/1add ct expectations supportdoc/libnftables-json.adoc doc/stateful-objects.txt include/linux/netfilter/nf_tables.h +15 more+354 -65 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH nftables v5 0/1] add ct expectations support

Here is the new version containing the correction with JSON. It seems to work, even if I can't be 100% sure because the Python tests are showing a lot of errors not related to my modifications.

Stéphane Veyret (1):
add ct expectations support

 doc/libnftables-json.adoc                     | 55 +++++++++++++++-
 doc/stateful-objects.txt                      | 49 +++++++++++++++
 include/linux/netfilter/nf_tables.h           | 14 ++++-
 include/rule.h                                | 10 +++
 src/evaluate.c                                |  4 ++
 src/json.c                                    | 11 ++++
 src/mnl.c                                     | 13 ++++
 src/netlink.c                                 | 12 ++++
 src/parser_bison.y                            | 62 ++++++++++++++++++-
 src/parser_json.c                             | 45 ++++++++++++++
 src/rule.c                                    | 35 +++++++++++
 src/scanner.l                                 |  1 +
 src/statement.c                               |  4 ++
 tests/py/ip/objects.t                         |  9 +++
 tests/py/ip/objects.t.payload                 |  4 ++
 tests/py/nft-test.py                          |  4 ++
 tests/shell/testcases/listing/0013objects_0   | 10 ++-
 .../testcases/nft-f/0018ct_expectation_obj_0  | 18 ++++++
 18 files changed, 354 insertions(+), 6 deletions(-)
 create mode 100755 tests/shell/testcases/nft-f/0018ct_expectation_obj_0
Signature · 1 line
2.21.0