]> git.meshlink.io Git - meshlink/commit
Handle UDP packets with unknown source addresses properly.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 10 Aug 2011 15:04:17 +0000 (17:04 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 10 Aug 2011 15:04:17 +0000 (17:04 +0200)
commit5d4336e5429b88dcc53e80c00412e76a5269b384
treefdb4f038f70633446be3cfb911e8f266dc4f936b
parentbbc0ba9e87f76111529d6dc9cb00c0b9435b5858
Handle UDP packets with unknown source addresses properly.

Probably due to a merge, the try_harder() function had duplicated the
rate-limiting code for detecting the sender node based on the HMAC of the
packet. This prevented this detection from running at all. The function is now
identical again to that in the 1.0 branch.
src/net_packet.c