GNUnet  0.18.1
UdpBroadcastSignature Struct Reference

Signature we use to verify that the broadcast was really made by the peer that claims to have made it. More...

Collaboration diagram for UdpBroadcastSignature:
[legend]

Data Fields

struct GNUNET_CRYPTO_EccSignaturePurpose purpose
 Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_BROADCAST. More...
 
struct GNUNET_PeerIdentity sender
 Identity of the inititor of the UDP broadcast. More...
 
struct GNUNET_HashCode h_address
 Hash of the sender's UDP address. More...
 

Detailed Description

Signature we use to verify that the broadcast was really made by the peer that claims to have made it.

Basically, affirms that the peer is really using this IP address (albeit possibly not in our LAN). Makes it difficult for peers in the LAN to claim to be just any global peer – an attacker must have at least shared a LAN with the peer they're pretending to be here.

Definition at line 284 of file gnunet-communicator-udp.c.

Field Documentation

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose UdpBroadcastSignature::purpose

Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_BROADCAST.

Definition at line 267 of file gnunet-communicator-udp.c.

Referenced by iface_proc(), and sock_read().

◆ sender

struct GNUNET_PeerIdentity UdpBroadcastSignature::sender

Identity of the inititor of the UDP broadcast.

Definition at line 267 of file gnunet-communicator-udp.c.

Referenced by iface_proc(), and sock_read().

◆ h_address

struct GNUNET_HashCode UdpBroadcastSignature::h_address

Hash of the sender's UDP address.

Definition at line 267 of file gnunet-communicator-udp.c.

Referenced by iface_proc(), and sock_read().


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