nftables: add zone support to ct statement
Status from this message: Applied, thanks Florian.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | netfilter: nft_ct: add zone id get supportinclude/ net/ | +21 | 1 reply | |
| 2/9 | netfilter: nft_ct: prepare for key-dependent error unwindnet/ | +15 | 1 reply | |
| 3/9 | netfilter: nft_ct: add zone id set supportnet/ | +143 | 1 reply | |
| 4/9 | src: ct: add zone supportinclude/ src/ | +4 | 1 reply | |
| 5/9 | src: add host byte order integer typeinclude/ src/ | +12 | 5 replies | |
| 6/9 | src: add conntrack zone supportdoc/ include/ src/ +2 more | +19 | 0 replies | |
| 7/9 | ct: refactor print function so it can be re-used for ct statementsrc/ | +9 | 0 replies | |
| 8/9 | src: support zone set statement with optional directioninclude/ src/ src/ +2 more | +31 | 0 replies | |
| 9/9 | tests: add test entries for conntrack zonestests/ tests/ | +57 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Pablo Neira Ayuso |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | A-b |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -next 0/9] nftables: add zone support to ct statement
This adds the ability to set the conntrack zone from nftables, i.e. native replacement for -j CT --zone $number.
See individual patches for details.
This will need more documentation and exposure of the builtin hook priorities (e.g. via defines?) so users can more easily see whats happening.
Pablo suggested to allow something like
hook prerouting prio $raw;
or even
hook prerouting prio $conntrack - 1;
instead of the 'awkward' use of the actual numbers used by the kernel ('priority -300' to hook at same priority as raw table).
However, this series doesn't contain any of that, so users will have to use priorities between -399 and -199 (i.e. after defrag and before conntrack pickup) to assign zones.