Module path

Source
Expand description

Code to construct paths through the Tor network

TODO: I’m not sure this belongs in circmgr, but this is the best place I can think of for now. I’m also not sure this should be public.

Modules§

dirpath 🔒
Code to construct paths to a directory for non-anonymous downloads
exitpath 🔒
Code for building paths to an exit relay.
hspath 🔒 hs-common
Code for building paths for HS circuits.

Structs§

TorPath
A list of Tor relays through the network.

Enums§

MaybeOwnedRelay 🔒
Identifier for a relay that could be either known from a NetDir, or specified as an OwnedCircTarget.
OwnedPath 🔒
A path composed entirely of owned components.
TorPathInner 🔒
Non-public helper type to represent the different kinds of Tor path.

Traits§

AnonymousPathBuilder 🔒
A path builder that builds multi-hop, anonymous paths.

Functions§

ensure_unique_hops 🔒
Returns an error if the specified hop list contains duplicates.
pick_path 🔒
Try to create and return a path corresponding to the requirements of this builder.
select_guard 🔒
Try to select a guard corresponding to the requirements of this builder.