Skip to main content

Module rend_handshake

Module rend_handshake 

Source
Expand description

Implementation for the introduce-and-rendezvous handshake.

Re-exportsยง

use tor_cell::relaycell::hs::intro_payload::IntroduceHandshakePayload; ๐Ÿ”’
use tor_cell::relaycell::hs::intro_payload::OnionKey; ๐Ÿ”’
use tor_cell::relaycell::msg::Introduce2; ๐Ÿ”’
use tor_cell::relaycell::msg::Rendezvous1; ๐Ÿ”’
use tor_circmgr::ServiceOnionServiceDataTunnel; ๐Ÿ”’
use tor_circmgr::build::onion_circparams_from_netparams; ๐Ÿ”’
use tor_linkspec::verbatim::VerbatimLinkSpecCircTarget; ๐Ÿ”’
use tor_proto::client::circuit::handshake; ๐Ÿ”’
use tor_proto::client::circuit::handshake::hs_ntor; ๐Ÿ”’
use tor_proto::client::circuit::handshake::hs_ntor::HsNtorHkdfKeyGenerator; ๐Ÿ”’
use tor_proto::stream::IncomingStream; ๐Ÿ”’
use tor_proto::stream::IncomingStreamRequestFilter; ๐Ÿ”’
use tor_protover::Protocols; ๐Ÿ”’
use super::*; ๐Ÿ”’

Structsยง

IntroRequest ๐Ÿ”’
A decrypted request from an onion service client which we can choose to answer (or not).
OpenSession ๐Ÿ”’
An open session with a single client.
RequestFilter ๐Ÿ”’
Filter callback used to enforce early requirements on streams.

Enumsยง

EstablishSessionError
An error produced while trying to connect to a rendezvous point and open a session with a client.
IntroRequestError
An error produced while trying to process an introduction request we have received from a client via an introduction point.

Traitsยง

RendCircConnector ๐Ÿ”’
Dyn-safe trait to represent a HsCircPool.