Adding nonce to protocol?
Adding a nonce - not the one we already have, but one to verify question-answer integrity, could make a lot of sense since the protocol is UDP only. This makes sure that the packet (sender IP) was not spoofed, and actually sent by the actual peer.
It would be a simple new field in the header, to be filled when sending out the Announcement / Ping / other messages, and every reply (Response / Pong / etc) must supply the same nonce.
The Bitcoin protocol uses it for ping/pong responses although it uses TCP.
Link to GitHub issue: https://github.com/PeernetOfficial/core/issues/13
Comments
-
This was done - closing thread.
This discussion has been closed.
Howdy, Stranger!