Skip to content

ct_set: port CT target to nftables

Eric Leblond netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netfilter: CT: factorize reusable codeinclude/net/netfilter/nf_ct_set.h net/netfilter/xt_CT.c+145 -1350 replies
2/2netfilter: nftables: introduce ct_set moduleinclude/uapi/linux/netfilter/nf_tables.h net/netfilter/Kconfig net/netfilter/Makefile +1 more+304 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] ct_set: port CT target to nftables

Hello,

Here's a patchset implementing CT features into a nftables modules named ct_set. I've used same technique as my previous work by factoring code in first patch and introducing the new module in second one.

libnftables implementation is done and will be attached to this thread.

I will work on nft support in the coming days.

Patchset statistics:

 include/net/netfilter/nf_ct_set.h        | 137 ++++++++++++++++
 include/uapi/linux/netfilter/nf_tables.h |  36 +++++
 net/netfilter/Kconfig                    |   5 +
 net/netfilter/Makefile                   |   1 +
 net/netfilter/nft_ct_set.c               | 262 +++++++++++++++++++++++++++++++
 net/netfilter/xt_CT.c                    | 143 +----------------
 6 files changed, 449 insertions(+), 135 deletions(-)

BR,
--
Eric Leblond