-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dht): discard encrypted message with no destination (#3472)
Description --- Discards inbound DHT messages that are encrypted but have no explicit NodeDestination and bans the peer that sent it Motivation and Context --- In order to support encrypted messages without a destination the message needs to be flooded on the network. This change disallows this on the DHT network so that it cannot be used to flood the network. How Has This Been Tested? --- New unit tests, existing tests updated, backward compatibility checked manually (base node, no bans)
- Loading branch information
Showing
3 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters