Crate tor_hsclient

source ยท
Expand description

ยงtor-hsclient

Core implementation for onion services client.

This crate creates circuits to onion circuits, retains them for reuse, and hands them out as appropriate. It is also responsible for maintaining all relevant state about hidden services, and their descriptors and introduction points.

Modulesยง

  • connect ๐Ÿ”’
    Main implementation of the connection functionality
  • err ๐Ÿ”’
    Errors relating to being a hidden service client
  • isol_map ๐Ÿ”’
    Data structure MultikeyIsolatedMap indexed by multiple keys and an isolation
  • keys ๐Ÿ”’
    Hidden service (onion service) client key management functionality
  • proto_oneshot ๐Ÿ”’
    [oneshot] channel between a circuit control message handler and the main code
  • relay_info ๐Ÿ”’
    Translate relay information from the formats used in the onion service protocol into CircTargets that we can use for building circuits.
  • state ๐Ÿ”’
    Implement a cache for onion descriptors and the facility to remember a bit about onion service history.

Structsยง

Enumsยง

  • Error that occurred attempting to reach a hidden service
  • Error that occurred attempting to download a descriptor
  • Error that occurred making one attempt to connect to a hidden service using an IP and RP
  • We were given unusable information about an introduction point or rendezvous point.
  • Error that occurred attempting to start up a hidden service client connector

Traitsยง