Per network namespace netfilter chains
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | netfilter: nf_queue: Don't recompute the hook_list headnet/ | +1 | 0 replies | |
| 2/6 | netfilter: kill nf_hooks_activeinclude/ | +3 | 0 replies | |
| 3/6 | netfilter: Simply the tests for enabling and disabling the ingress queue hooknet/ | +6 | 0 replies | |
| 4/6 | netfilter: Factor out the hook list selection from nf_register_hooknet/ | +18 | 0 replies | |
| 5/6 | netfilter: Per network namespace netfilter hooks.include/ include/ net/ | +175 | 2 replies | |
| 6/6 | netfilter: nftables: Only run the nftables chains in the proper netnsnet/ net/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -next 0/6] Per network namespace netfilter chains
By maintining a set of functions to register and unregister netfilter hooks both globally and per network namespace I have managed to write a compact patchset that maintain per network netfilter chains, and registers the nftables netfilter hooks per network namespace.
There are lots of other possible and desirable cleanups but this one is a core change needed to make the other changes independent small changes.
Eric W. Biederman (6):
netfilter: nf_queue: Don't recompute the hook_list head
netfilter: kill nf_hooks_active
netfilter: Simply the tests for enabling and disabling the ingress queue hook
netfilter: Factor out the hook list selection from nf_register_hook
netfilter: Per network namespace netfilter hooks.
netfilter: nftables: Only run the nftables chains in the proper netns
include/linux/netfilter.h | 23 +++-- include/net/netns/netfilter.h | 1 + net/netfilter/core.c | 221 +++++++++++++++++++++++++++++++++-------- net/netfilter/nf_queue.c | 2 +- net/netfilter/nf_tables_api.c | 6 +- net/netfilter/nf_tables_core.c | 5 - 6 files changed, 200 insertions(+), 58 deletions(-)
Eric