]> git.meshlink.io Git - meshlink/commit
Do not forward broadcast packets when TunnelServer is enabled.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 25 May 2009 13:04:33 +0000 (15:04 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 25 May 2009 13:04:33 +0000 (15:04 +0200)
commit4e9e3ca89dba68cbacaaa15ddfb298b181a969da
tree7b10646aedebcfff2cbef24290bdf6484aaf708c
parent7fc69bc73b15349dafc193a50464caeb2f978369
Do not forward broadcast packets when TunnelServer is enabled.

First of all, the idea behind the TunnelServer option is to hide all other
nodes from each other, so we shouldn't forward broadcast packets from them
anyway. The other reason is that since edges from other nodes are ignored, the
calculated minimum spanning tree might not be correct, which can result in
routing loops.
src/net_packet.c