Skip to content

nftables: add ct helper set support

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7object: extend set/get api for u8/u16 typesinclude/libnftnl/object.h src/libnftnl.map src/object.c+38 -00 replies
2/7src: ct helper supportinclude/libnftnl/object.h include/linux/netfilter/nf_tables.h include/obj.h +3 more+236 -20 replies
3/7netlink: BUG when object type is unknownsrc/netlink.c+3 -00 replies
4/7src: add initial ct helper supportinclude/ct.h include/linux/netfilter/nf_tables.h include/rule.h +5 more+157 -50 replies
5/7evaluate: refactor CMD_OBJ_QUOTA/COUNTER handlingsrc/evaluate.c+20 -120 replies
6/7src: allow listing all ct helpersinclude/rule.h src/evaluate.c src/parser_bison.y +1 more+23 -00 replies
7/7src: implement add/create/delete for ct helper objectsinclude/rule.h src/evaluate.c src/parser_bison.y +1 more+91 -20 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 v1 thread

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

This series adds initial support to set conntrack helpers via the nft objref infrastructure.

As -next is closed I will not push this yet since kernel support is still missing.

Currently only supported attributes are:

type (e.g. "ftp", "sip)
protocol (udp or tcp)
l3proto (ip, ip6).

l3proto is optional, the kernel will infer it from
the family, i.e. in "inet" case kernel will check for both ipv4 and ipv6.

Let me know in case you spot any isses, patches #3 and #5 could already be pushed to nft master since they are just preparation patches.