Expand description
Relay responder channel.
Code related to the relay channel opened as a responder. The handshake code is responsible for
creating an MaybeVerifiableRelayResponderChannel when accepting an inbound connection.
It can then be used to get a fully working channel.
Re-exportsยง
use digest::Digest;๐use futures::AsyncRead;๐use futures::AsyncWrite;๐use safelog::MaybeSensitive;๐use safelog::Sensitive;๐use std::net::IpAddr;๐use std::ops::Deref;๐use std::sync::Arc;๐use subtle::ConstantTimeEq;๐use tracing::instrument;๐use tracing::instrument;๐use tor_cell::chancell::msg;๐use tor_linkspec::HasRelayIds;๐use tor_linkspec::OwnedChanTarget;๐use tor_linkspec::RelayIds;๐use tor_llcrypto as ll;๐use tor_llcrypto::pk::ed25519::Ed25519Identity;๐use tor_llcrypto::pk::rsa::RsaIdentity;๐use tor_rtcompat::CertifiedConn;๐use tor_rtcompat::CoarseTimeProvider;๐use tor_rtcompat::Runtime;๐use tor_rtcompat::SleepProvider;๐use tor_rtcompat::StreamOps;๐use web_time_compat::SystemTime;๐use web_time_compat::SystemTimeExt;๐use crate::ClockSkew;๐use crate::Error;๐use crate::RelayChannelAuthMaterial;๐use crate::Result;๐use crate::channel::Channel;๐use crate::channel::ChannelMode;๐use crate::channel::ClogDigest;๐use crate::channel::Reactor;๐use crate::channel::SlogDigest;๐use crate::channel::circmap::CircIdRange;๐use crate::channel::handshake::UnverifiedChannel;๐use crate::channel::handshake::VerifiedChannel;๐use crate::peer::PeerAddr;๐use crate::peer::PeerInfo;๐use crate::relay::CreateRequestHandler;๐use crate::relay::channel::ChannelAuthenticationData;๐
Structsยง
- NonVerifiable
Responder Relay Channel - A channel that can NOT be verified. This is solely either a client or bridge on the other end.
- Unverified
Responder Relay Channel - A verifiable relay responder channel that is currently unverified. This can only be a relay on the other end.
- Verified
Responder Relay Channel - A verified relay responder channel.
Enumsยง
- Maybe
Verifiable Relay Responder Channel - An enum combining both the possibility of a verifiable (relay) or non verifiable channel (client/bridge).