[][src]Module tari_comms::tor

Tor Hidden Services and Control Port Client

These modules interact with the Tor Control Port to create hidden services on-the-fly.

The client module contains the client library for the Tor Control Port. You can find the spec here.

The hidden_service module contains code which sets up hidden services required for tari_comms to function over Tor.

Structs

HiddenService

Handle for a Tor Hidden Service. This handle keeps the session to the Tor control port alive. Once this is dropped, the hidden service will cease to be accessible.

HiddenServiceBuilder

Builder for Tor Hidden Services

HiddenServiceController
HsFlags

Hidden service flags

PortMapping

Represents a mapping between an onion port and a proxied address (usually 127.0.0.1:xxxx). If the proxied_address is not specified, the default 127.0.0.1:[onion_port] will be used.

TorControlPortClient

Client for the Tor control port.

TorIdentity

Enums

Authentication

Represents tor control port authentication mechanisms

HiddenServiceBuilderError
HiddenServiceControllerError
KeyBlob
KeyType
PrivateKey
TorClientError