Expand description
Relay channel code.
This contains relay specific channel code. In other words, everything that a relay needs to establish a channel according to the Tor protocol.
Re-exportsยง
pub use responder::MaybeVerifiableRelayResponderChannel;
Modulesยง
- create_
handler ๐ - Handler for CREATE* cells.
- handshake ๐
- Implementations for the relay channel handshake
- initiator ๐
- Relay initiator channel.
- responder ๐
- Relay responder channel.
Structsยง
- Channel
Authentication ๐Data - Channel authentication data. This is only relevant for a Relay to Relay channel which are authenticated using this buffet of bytes.
- Relay
Channel Auth Material - Object containing the keys and certificates for channel authentication.
- Relay
Channel Builder - Structure for building and launching a relay Tor channel.
Staticsยง
- LINK_
AUTH ๐ - A list of link authentication that we support (LinkAuth).
Functionsยง
- build_
certs_ ๐cell - Helper: Build a
msg::Certscell for the given relay identities and channel type. - build_
netinfo_ ๐cell - Build a
msg::Netinfocell from the given peer IPs and our advertised addresses.