ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.05k stars 925 forks source link

Whether the broadcast packet can be forwarded #1150

Open Raven81163700 opened 9 months ago

Raven81163700 commented 9 months ago

Hello, I used the translation tool to describe this problem, please forgive me if it causes you trouble I'm using n2n for Minecraft LAN gaming and I read this issue https://github.com/ntop/n2n/issues/1067 But multicast only seems to work on Java Edition,Minecraft Bedrock Edition seems to send broadcast packets to ask all devices on the LAN if they are running a LAN game. But it seems that n2n does not handle I used wireshark to monitor the tap network card used by n2n, and found that the device with the source address being the MAC address was broadcasting on the n2n network, asking "Who has 172.221.124.255?tell 172.221.124.114" It seems that the broadcast packet was mistakenly interpreted as a data packet destined for the host identified as 255 in the 172.221.124 subnet. I don't know if this is a problem with supernode or with hin2n running on my Android phone, because when I use Minecraft Bedrock Edition on Windows and connect to n2n, wireshark shows that the package sent to 172.221.124.255 is correct, and I didn’t see the source address being the MAC address of my tap network card and then asking “who has 172.221.124.255” Maybe I should send an issue to the hin2n project first, but my previous issue has not received a response 'https://github.com/switch-iot/hin2n/issues/78' so I take the liberty to ask if you can provide me with some help.

express my sincerest gratitude