Module tor_circmgr::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ยง

  • 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ยง

Functionsยง

  • 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.