Adding nonce to protocol?

PeerZero
edited April 2021 in Whitepaper / Core

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 discussion has been closed.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion