Content signed by each peer during DV learning. More...
Data Fields | |
struct GNUNET_CRYPTO_EccSignaturePurpose | purpose |
Purpose is GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_HOP. More... | |
struct GNUNET_PeerIdentity | pred |
Identity of the previous peer on the path. More... | |
struct GNUNET_PeerIdentity | succ |
Identity of the next peer on the path. More... | |
struct GNUNET_CRYPTO_ChallengeNonceP | challenge |
Challenge value used by the initiator to re-identify the path. More... | |
Content signed by each peer during DV learning.
This assues the initiator of the DV learning operation that the hop from pred via the signing peer to succ actually exists. This makes it impossible for an adversary to supply the network with bogus routes.
The challenge is included to provide replay protection for the initiator. This way, the initiator knows that the hop existed after the original challenge was first transmitted, providing a freshness metric.
Peers other than the initiator that passively learn paths by observing these messages do NOT benefit from this. Here, an adversary may indeed replay old messages. Thus, passively learned paths should always be immediately marked as "potentially stale".
Definition at line 622 of file gnunet-service-transport.c.
struct GNUNET_CRYPTO_EccSignaturePurpose DvHopPS::purpose |
Purpose is GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_HOP.
Definition at line 627 of file gnunet-service-transport.c.
Referenced by forward_dv_learn(), and handle_dv_learn().
struct GNUNET_PeerIdentity DvHopPS::pred |
Identity of the previous peer on the path.
Definition at line 632 of file gnunet-service-transport.c.
Referenced by handle_dv_learn().
struct GNUNET_PeerIdentity DvHopPS::succ |
Identity of the next peer on the path.
Definition at line 637 of file gnunet-service-transport.c.
Referenced by handle_dv_learn().
struct GNUNET_CRYPTO_ChallengeNonceP DvHopPS::challenge |
Challenge value used by the initiator to re-identify the path.
Definition at line 642 of file gnunet-service-transport.c.
Referenced by handle_dv_learn().