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
CircTarget
s 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ยง
- Error that occurred attempting to download a descriptor
- An object that negotiates connections with onion services
- A key for deriving keys for decrypting HS descriptors (KS_hsc_desc_enc).
- Keys (if any) to use when connecting to a specific onion service.
- Builder for
HsClientSecretKeys
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ยง
- Configuration for an HS client connector