Expand description
Encoding and decoding for relay messages related to onion services.
Re-exportsΒ§
use super::msg;πuse super::msg::Body;πuse crate::relaycell::extlist::ExtList;πuse crate::relaycell::extlist::decl_extension_group;πuse caret::caret_int;πuse derive_deftly::Deftly;πuse tor_bytes::EncodeError;πuse tor_bytes::EncodeResult;πuse tor_bytes::Error as BytesError;πuse tor_bytes::Result;πuse tor_bytes::Reader;πuse tor_bytes::Writer;πuse tor_hscrypto::RendCookie;πuse tor_llcrypto::pk::rsa::RsaIdentity;πuse tor_memquota::derive_deftly_template_HasMemoryCost;π
ModulesΒ§
- est_
intro - Define the ESTABLISH_INTRO message and related types.
- intro_
payload - The encrypted portion of an INTRODUCE{1,2} message.
- pow
- Support for the proof-of-work intro payload extension
StructsΒ§
- Auth
KeyType - The type of the introduction point auth key
- Establish
Rendezvous - A message sent from client to rendezvous point.
- Intro
Established - Reply sent from the introduction point to the onion service, telling it that an introduction point is now established.
- Intro
Established ExtType - The recognized extension types for an
IntroEstablishedmessage. - Introduce π
- A message body shared by Introduce1 and Introduce2
- Introduce1
- A message sent from client to introduction point.
- Introduce2
- A message sent from introduction point to hidden service host.
- Introduce
Ack - A reply from the introduction point to the client, telling it that its introduce1 was received.
- Introduce
AckExt Type - The recognized extension types for an
IntroEstablishedmessage. - Introduce
AckStatus - A status code returned in response to an INTRODUCE1 message.
- Introduce
ExtType - The recognized unencrypted extension types for an
Introduce1orIntroduce2message. - Introduce
Header - The unencrypted header portion of an
Introduce1orIntroduce2message. - Rendezvous1
- A message sent from an onion service to a rendezvous point, telling it to make a connection to the client.
- Rendezvous2
- A message sent from the rendezvous point to the client, telling it about the onion serviceβs message.
- Rendezvous
Established - Acknowledges an EstablishRendezvous message.
EnumsΒ§
- Intro
Established Ext - An extension to an IntroEstablished message.
- Introduce
AckExt π - An extension to an IntroduceAct message.
- Introduce
Ext π - An unencrypted extension to an
IntroduceorIntroduce2message.