Skip to main content

Module bridge

Module bridge 

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

Re-exportsΒ§

pub use config::BridgeConfig;
pub use config::BridgeConfigBuilder;
pub use config::BridgeParseError;
pub use descs::BridgeDesc;
pub use descs::BridgeDescError;
pub use descs::BridgeDescEvent;
pub use descs::BridgeDescList;
pub use descs::BridgeDescProvider;
pub use relay::BridgeRelay;
pub(crate) use descs::BridgeSet; πŸ”’

ModulesΒ§

config πŸ”’
Configuration logic and types for bridges.
descs πŸ”’
Code for working with bridge descriptors.
relay πŸ”’
Implementation code to make a bridge something that we can connect to and use to relay traffic.