Skip to content

ebtables compat layer

Giuseppe Longo netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xtables: bootstrap xtables-eb for nftablesinclude/linux/netfilter_bridge.h include/linux/netfilter_bridge/ebtables.h include/linux/netfilter_bridge/ethernetdb.h +11 more+2104 -20 replies
2/3nft-shared: make compare_matches as publiciptables/nft-shared.c iptables/nft-shared.h+3 -20 replies
3/3Operations for bridge familyinclude/linux/netfilter/nf_tables.h iptables/nft-bridge.c iptables/nft-shared.c +2 more+561 -50 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [iptables-compat PATCH 0/3] ebtables compat layer

Hi Pablo,
the btables-compat is almost ready,
I've fixed the issues with flags, there are two small issues to be fixed yet:

- rules with logical interfaces are not deleted
- when listing rule, the mask is printed when it's not set

The filter table is working properly except these issues, that I'm going to fix in these days.

There is no support yet for nat and brouting, I'm working on checksum expr.

I would know what you have in mind for these patches, if you want to accept them when the issues are fixed even if there is no nat support yet or or what else?

So I can organize the work to do.

There are still some extensions that have to be moved to libxtables.

Thanks

Giuseppe Longo (3):
xtables: bootstrap xtables-eb for nftables
nft-shared: make compare_matches as public
Operations for bridge family

 include/linux/netfilter/nf_tables.h         |    4 +
 include/linux/netfilter_bridge.h            |   33 +
 include/linux/netfilter_bridge/ebtables.h   |  276 +++++++
 include/linux/netfilter_bridge/ethernetdb.h |   58 ++
 iptables/Makefile.am                        |    6 +-
 iptables/getethertype.c                     |  161 ++++
 iptables/nft-bridge.c                       |  545 ++++++++++++
 iptables/nft-shared.c                       |   14 +-
 iptables/nft-shared.h                       |    3 +-
 iptables/nft.c                              |   28 +
 iptables/nft.h                              |   12 +
 iptables/xtables-compat-multi               |  210 +++++
 iptables/xtables-compat-multi.c             |    1 +
 iptables/xtables-eb-standalone.c            |   87 ++
 iptables/xtables-eb.c                       | 1186 +++++++++++++++++++++++++++
 iptables/xtables-ebtables.h                 |   49 ++
 iptables/xtables-multi.c                    |    1 +
 iptables/xtables-multi.h                    |    1 +
 18 files changed, 2667 insertions(+), 8 deletions(-)
 create mode 100644 include/linux/netfilter_bridge.h
 create mode 100644 include/linux/netfilter_bridge/ebtables.h
 create mode 100644 include/linux/netfilter_bridge/ethernetdb.h
 create mode 100644 iptables/getethertype.c
 create mode 100644 iptables/nft-bridge.c
 create mode 100755 iptables/xtables-compat-multi
 create mode 100644 iptables/xtables-eb-standalone.c
 create mode 100644 iptables/xtables-eb.c
 create mode 100644 iptables/xtables-ebtables.h
Signature · 1 line
1.8.3.2