Skip to content

netfilter: helper set support

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netfilter: provide nft_ctxc in object init functioninclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c net/netfilter/nft_counter.c +1 more+10 -60 replies
2/2netfilter: nft_ct: add helper set supportinclude/uapi/linux/netfilter/nf_tables.h net/netfilter/nft_ct.c+182 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH nf-next 0/2] netfilter: helper set support

This adds support to set the conntrack helper from nftables, using nft set ct helper "foo" syntax.

Helpers are defined through the objref infrastructure.

Open question: should NFT_MSG_GETOBJ_RESET get rejected for this new type?

A future patch could extend the attributes so we can also handle module specific settings, such as ftp loose mode, or configure the number of allowed expectations.

 include/net/netfilter/nf_tables.h        |    3 ++-
 include/net/netfilter/nf_tables.h        |    3 
 include/uapi/linux/netfilter/nf_tables.h |   12 +-
 net/netfilter/nf_tables_api.c            |    7 -
 net/netfilter/nft_counter.c              |    3 
 net/netfilter/nft_ct.c                   |  171 +++++++++++++++++++++++++++++++
 net/netfilter/nft_quota.c                |    3 
 6 files changed, 192 insertions(+), 7 deletions(-)