iroh_net

Module relay

Source
Expand description

Package relay implements a revised version of the Designated Encrypted Relay for Packets (DERP) protocol written by Tailscale. The relay routes packets to clients using curve25519 keys as addresses. The relay is used to proxy encrypted QUIC packets through the relay servers when a direct path cannot be found or opened. The relay is a last resort. If both sides have very aggressive NATs, or firewalls, or no IPv6, we use the relay connection. Based on tailscale/derp/derp.go

Modules§

  • HTTP-specific constants for the relay server and client.
  • serveriroh-relay
    A fully-fledged iroh-relay server over HTTP or HTTPS.

Structs§

Enums§

Constants§

  • Environment variable to force the use of staging relays.
  • The maximum size of a packet sent over relay. (This only includes the data bytes visible to magicsock, not including its on-wire framing overhead)

Functions§