Skip to content

ct helper set support

Florian Westphal netfilter-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v19 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7src: add initial ct helper supportinclude/ct.h include/linux/netfilter/nf_tables.h include/rule.h +5 more+146 -50 replies
2/7evaluate: refactor CMD_OBJ_QUOTA/COUNTER handlingsrc/evaluate.c+20 -120 replies
3/7src: allow listing all ct helpersinclude/rule.h src/evaluate.c src/parser_bison.y +1 more+23 -00 replies
4/7src: implement add/create/delete for ct helper objectsinclude/rule.h src/evaluate.c src/parser_bison.y +1 more+91 -20 replies
5/7tests: py: add ct helper teststests/py/ip/objects.t tests/py/ip/objects.t.payload tests/py/nft-test.py+28 -10 replies
6/7tests: add insert-failure testtests/py/ip/objects.t tests/py/nft-test.py+15 -30 replies
7/7doc: ct helper objects and helper set supportdoc/nft.xml+76 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPablo Neira Ayuso
SeriesA-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 nftables 0/7] ct helper set support

v2, with updated syntax to force type and protocol keywords into same statement, i.e.

ct helper ftp-standard {
type "ftp" protocol tcp
}

I also cleaned up the changes to bison (reuse family_spec_explicit) and added a test for an invalid helper (l3proto ip6 in ip table).

 doc/nft.xml                         |   76 +++++++++++++++++
 include/ct.h                        |    1 
 include/linux/netfilter/nf_tables.h |   12 ++
 include/rule.h                      |   12 ++
 src/ct.c                            |   10 ++
 src/evaluate.c                      |   37 +++++---
 src/netlink.c                       |   16 +++
 src/parser_bison.y                  |  156 +++++++++++++++++++++++++++++++++++-
 src/rule.c                          |   45 ++++++++++
 src/statement.c                     |   10 ++
 tests/py/ip/objects.t               |    5 +
 tests/py/ip/objects.t.payload       |   14 +++
 tests/py/nft-test.py                |   28 +++++-
 13 files changed, 399 insertions(+), 23 deletions(-)