compat updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | configure: rename --disable-xtables to --disable-nftablesconfigure.ac | +1 | 0 replies | |
| 2/4 | configure: conditional dependencies for nftables-compatconfigure.ac | +37 | 0 replies | |
| 3/4 | xtables-restore: remove dependency with libip4tciptables/ | +5 | 0 replies | |
| 4/4 | xtables: add xtables-compat-multi for the nftables compatibility layeriptables/ iptables/ iptables/ +5 more | +123 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4 iptables-nftables] compat updates
Hi,
This patchset contains three updates for the compatibility layer:
* Don't require libmnl and libnftnl if you choose to disable the compatibility layer via --disable-nftables.
* Provide a mechanism to distributors to switch to the compatibility layer in a transparent way (by updating the symlinks to the new binary xtables-compat-multi). Meanwhile, it installs {ip,ip6,arp}tables-compat-* utilities so you can use both native and compatibility layer tools.
* Add a emulated xtc_ops structure to avoid dependencies with libip4tc.
* A simple fix to replace a string that is wrong.
If no concerns, I'll push this to the nft-compat branch. After this, I'll merge this branch to master and will also prepare the first release of iptables including the nftables compatibility layer.
Pablo Neira Ayuso (4):
configure: rename --disable-xtables to --disable-nftables
configure: conditional dependencies for nftables-compat
xtables-restore: remove dependency with libip4tc
xtables: add xtables-compat-multi for the nftables compatibility layer
configure.ac | 75 +++++++++++++++++++------------------ iptables/Makefile.am | 41 ++++++++++++-------- iptables/xtables-arp-standalone.c | 2 +- iptables/xtables-arp.c | 2 +- iptables/xtables-compat-multi.c | 39 +++++++++++++++++++ iptables/xtables-multi.h | 13 +++++-- iptables/xtables-restore.c | 28 +++++++++++--- iptables/xtables-save.c | 18 +++++++-- iptables/xtables-standalone.c | 24 ++++++++---- 9 files changed, 166 insertions(+), 76 deletions(-) create mode 100644 iptables/xtables-compat-multi.c
Signature · 1 line
1.7.10.4