NFQUEUE doesn't work for routed traffic inside logical bridge (br-lan) on OpenWrt with nftables #262
ValdikSS
announced in
Announcements
Replies: 1 comment
-
Confirming the issue on raspberry pi, kernel v6.6.31.
However, i don't see that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
…or, more precisely,
connbytes
doesn't match the traffic routed inside the bridge.For some reason, nftables ip/ip6 family (not bridge family!) rules does not work when I'm trying to use
connbytes
matcher for routing (not switching), when the routing occurs inside the bridge, which doesn't allownfqws
to work out of the box.does NOT work for some reason.
Turns out nftables skips conntrack after the NEW state even for routing, when it doesn't leave logical bridge. I had to install iptables bridging module and enable iptables bridge filtering (even if I don't need to filter bridge traffic, my traffic is routed).
Solution:
It fixed the issue, now I can use connbytes inside nftables rules for the routed traffic inside br-lan.
P.S. I have all offloading disabled. OpenWrt 23.05.4. Honestly, this sounds like a nftables bug/deficiency.
Beta Was this translation helpful? Give feedback.
All reactions