GNUnet  0.11.x
Data Fields
TransportPongMessage Struct Reference

Message used to validate a HELLO. More...

Collaboration diagram for TransportPongMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_PONG. More...
 
uint32_t challenge
 Challenge code from PING (showing freshness). More...
 
struct GNUNET_CRYPTO_EddsaSignature signature
 Signature. More...
 
struct GNUNET_CRYPTO_EccSignaturePurpose purpose
 GNUNET_SIGNATURE_PURPOSE_TRANSPORT_PONG_OWN to confirm that this is a plausible address for the signing peer. More...
 
struct GNUNET_TIME_AbsoluteNBO expiration
 When does this signature expire? More...
 
uint32_t addrlen
 Size of address appended to this message (part of what is being signed, hence not redundant). More...
 

Detailed Description

Message used to validate a HELLO.

The challenge is included in the confirmation to make matching of replies to requests possible. The signature signs our public key, an expiration time and our address.

This message is followed by our transport address that the PING tried to confirm (if we liked it). The address can be empty (zero bytes) if the PING had not address either (and we received the request via a connection that we initiated).

Definition at line 184 of file gnunet-service-transport_validation.c.

Field Documentation

◆ header

struct GNUNET_MessageHeader TransportPongMessage::header

◆ challenge

uint32_t TransportPongMessage::challenge

Challenge code from PING (showing freshness).

Not part of what is signed so that we can re-use signatures.

Definition at line 195 of file gnunet-service-transport_validation.c.

Referenced by GST_validation_handle_ping().

◆ signature

struct GNUNET_CRYPTO_EddsaSignature TransportPongMessage::signature

Signature.

Definition at line 200 of file gnunet-service-transport_validation.c.

Referenced by GST_validation_handle_ping(), and GST_validation_handle_pong().

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose TransportPongMessage::purpose

GNUNET_SIGNATURE_PURPOSE_TRANSPORT_PONG_OWN to confirm that this is a plausible address for the signing peer.

Definition at line 206 of file gnunet-service-transport_validation.c.

Referenced by GST_validation_handle_ping(), and GST_validation_handle_pong().

◆ expiration

struct GNUNET_TIME_AbsoluteNBO TransportPongMessage::expiration

When does this signature expire?

Definition at line 211 of file gnunet-service-transport_validation.c.

Referenced by GST_validation_handle_ping(), and GST_validation_handle_pong().

◆ addrlen

uint32_t TransportPongMessage::addrlen

Size of address appended to this message (part of what is being signed, hence not redundant).

Definition at line 217 of file gnunet-service-transport_validation.c.

Referenced by GST_validation_handle_ping(), and GST_validation_handle_pong().


The documentation for this struct was generated from the following file: