tiiuae / mesh_com

ROS node for Mesh Network configuration
BSD 3-Clause "New" or "Revised" License
16 stars 17 forks source link

Mess bridge hotfix2 #455

Closed TIISR closed 5 months ago

TIISR commented 5 months ago

(Redoing the PR notably because I mistakenly created https://github.com/tiiuae/mesh_com/pull/454 as a branch of a previous PR branch and don't want to risk messing with rebasing etc)

Traffic multiplication appears to be due to a regression in the Lower/Upper Mess Bridge's (lmb/umb) even though they appear to be correctly configured in terms of forwarding database (bridge fdb) and port isolation (ip -d link show) so here is a bruteforce hotfix just dropping any traffic that should not be happening anyway.

WARNING: untested with more than 2 devices (which is required to be able to reproduced the issue) as I do not have access to more than 2 right now, but FWIW this hotfix does not seem to break anything at least between 2 devices.