-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
babel: firewall: connectivity issues with mesh-on-wan without vxlan #2375
Comments
What actually surprises me a bit is that mesh-on-wan with VXLAN works. There are rules "mesh_babel" and "mesh_l3roamd" for zone "mesh" (which I believe is wireless only?). But I don't see such babel/l3roamd rules for zone "wired_mesh". |
With Babel, there is no way to distinguish mesh and non-mesh traffic on the same interface by the packet type, so this simply cannot work - after all, mesh traffic must never leak into the WAN network for security reasons! Non-VXLAN wired meshing is deprecated for batadv, and was never intended to be possible with Babel at all. It is a bug in our site checkers that it is possible to build a Babel-based firmware with |
Note that the reason for the behavior you're seeing is that all mesh traffic through WAN will be filtered by the regular WAN zone with Babel (blocking most of it), while batadv uses a non-IP Ethertype which bypasses the firewall entirely. |
If babel doesn't explicitly needs it's own VLAN another idea might be to use a macvlan then if vxlan is off |
#2376 is merged now, so I'm closing this. |
Bug report
Setup Description
Issue
Nodes and clients can't ping each other on their "node_prefix6" and "node_client_prefix6" addresses when using mesh-on-wan without VXLAN. Nodes don't recognize each other in BABEL.
Babeld's status dump only shows a node's own routes and own client routes, but not from other nodes. tcpdump shows BABEL's hello messages, but no "I-heard-you" responses.
Calling
ip6tables -I INPUT -p udp --dport 6696 -j ACCEPT
andip6tables -I INPUT -p udp --dport 5523 -j ACCEPT
makes BABEL IHU messages appear and allows BABEL's routing table to fill up correctly. And allows the two nodes to ping each other and allows a node to ping both clients. While pinging between clients still is rejected by the direct node ("Destination unreachable: Port unreachable"). Enabling VXLAN makes things work as well, including pinging between the two clients.Additional Information
Gluon Version:
Site Configuration:
Concerns: #2353
The text was updated successfully, but these errors were encountered: