summaryrefslogtreecommitdiff
path: root/crates/tor-guardmgr/src/bridge.rs
blob: 3a9391ac168b9dcccca7abf4afad220b1b3b35bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! 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.
//
// TODO pt-client: Should this whole module be in another crate?

mod config;
mod descs;

pub use config::Bridge;
pub use descs::{BridgeDescEvent, BridgeDescList, BridgeDescProvider};