Available on crate feature
bridge-client
only.Expand description
Code to configure and manage a set of bridge relays.
A bridge relay, or “bridge” is a tor relay not listed as part of Tor directory, in order to prevent censors from blocking it. Instead, clients learn about bridges out-of-band, and contact them either directly or via a pluggable transport.
When a client is configured to use bridges, it uses them in place of its regular set of guards in building the first hop of its circuits.
Structs§
- Bridge
Config - A relay not listed on the main tor network, used for anticensorship.
- Bridge
Config Builder - Builder for a
BridgeConfig
. - Bridge
Desc - A router descriptor that can be used to build circuits through a bridge.
- Bridge
Relay - The information about a Bridge that is necessary to connect to it and send it traffic.
Enums§
- Bridge
Desc Event - An event describing a change in a
BridgeDescList
. - Bridge
Parse Error - Error when parsing a bridge line from a string
Traits§
- Bridge
Desc Error - An error caused while fetching bridge descriptors
- Bridge
Desc Provider - Trait for an object that knows how to fetch bridge descriptors as needed.
Type Aliases§
- Bridge
Desc List - A set of bridge descriptors, managed and modified by a BridgeDescProvider.