Expand description
Implementations for the relay channel handshake
Re-exportsยง
use futures::SinkExt;๐use futures::io::AsyncRead;๐use futures::io::AsyncWrite;๐use rand::RngExt;๐use safelog::Sensitive;๐use std::net::IpAddr;๐use std::net::SocketAddr;๐use std::sync::Arc;๐use std::time::SystemTime;๐use tracing::trace;๐use tor_cell::chancell::msg;๐use tor_cell::restrict::restricted_msg;๐use tor_error::internal;๐use tor_linkspec::ChannelMethod;๐use tor_linkspec::HasChanMethod;๐use tor_linkspec::OwnedChanTarget;๐use tor_rtcompat::CertifiedConn;๐use tor_rtcompat::CoarseTimeProvider;๐use tor_rtcompat::SleepProvider;๐use tor_rtcompat::StreamOps;๐use crate::Result;๐use crate::channel::handshake::AuthLogAction;๐use crate::channel::handshake::ChannelBaseHandshake;๐use crate::channel::handshake::ChannelInitiatorHandshake;๐use crate::channel::handshake::UnverifiedChannel;๐use crate::channel::handshake::UnverifiedInitiatorChannel;๐use crate::channel::handshake::read_msg;๐use crate::channel::handshake::unauthenticated_clock_skew;๐use crate::channel::ChannelFrame;๐use crate::channel::ChannelType;๐use crate::channel::ClogDigest;๐use crate::channel::SlogDigest;๐use crate::channel::UniqId;๐use crate::channel::new_frame;๐use crate::memquota::ChannelAccount;๐use crate::peer::PeerAddr;๐use crate::relay::CreateRequestHandler;๐use crate::relay::channel::initiator::UnverifiedInitiatorRelayChannel;๐use crate::relay::channel::responder::MaybeVerifiableRelayResponderChannel;๐use crate::relay::channel::responder::NonVerifiableResponderRelayChannel;๐use crate::relay::channel::responder::UnverifiedResponderRelayChannel;๐use crate::relay::channel::RelayChannelAuthMaterial;๐use crate::relay::channel::build_certs_cell;๐use crate::relay::channel::build_netinfo_cell;๐
Structsยง
- Relay
Initiator Handshake - A relay channel handshake as the initiator.
- Relay
Responder Handshake - A relay channel handshake as the responder.
Staticsยง
- AUTHTYPE_
ED25519_ ๐SHA256_ RFC5705 - The โEd25519-SHA256-RFC5705โ link authentication which is value โ00 03โ.