]> git.meshlink.io Git - meshlink/commit
Fix spurious misidentification of incoming UDP packets.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 18 Feb 2011 22:02:11 +0000 (23:02 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 18 Feb 2011 22:02:11 +0000 (23:02 +0100)
commitcdbbbfabea173894bd2fb5f28135a04ddc5e3fd7
treea0e34106f278a9f8c82c46d5126fafddd060aca9
parent046d83bf91e01bc7a32e66a02758caf228bc4601
Fix spurious misidentification of incoming UDP packets.

When a UDP packet was received with an unknown source address/port, and if it
failed a HMAC check against known keys, it could still incorrectly assign that
UDP address to another node. This would temporarily cause outgoing UDP packets
to go to the wrong destination address, until packets from the correct address
were received again.
src/net_packet.c