Thread (7 messages) 7 messages, 2 authors, 28d ago

Re: [PATCH 0/5] netfilter: nf_flow_table_path: L2 bridge offload

From: Florian Westphal <fw@strlen.de>
Date: 2026-06-29 12:56:24
Also in: bridge, linux-arm-kernel, linux-mediatek, netfilter-devel

Daniel Pawlik [off-list ref] wrote:
-----------------------------
1. Load kmod-br-netfilter so that bridged IP traffic traverses the
   netfilter forward chain.
Ouch.  br_netfilter should die.  Really.  Its a gross hack, never
use this thing...
2. Enable netfilter hooks on the bridge:
     echo 1 > /sys/class/net/<br>/bridge/nf_call_iptables
     echo 1 > /sys/class/net/<br>/bridge/nf_call_ip6tables

3. Register bridge member interfaces in the nft flowtable:
     table inet filter {
         flowtable f {
             hook ingress priority filter
             devices = { eth0, wlan0 }
         }
I think that bridge flowtable should use 'table bridge ...', not
use the br_netfilter compat hacks.

Sorry.

Are you aware of Eric Woudstras bridge flowtable patches?
https://lore.kernel.org/netfilter-devel/20250408142802.96101-5-ericwouds@gmail.com/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help