Expand description
Configure and implement onion service reverse-proxy feature.
Re-exportsยง
use std::collections::BTreeMap;๐use std::collections::HashSet;๐use std::collections::btree_map::Entry;๐use std::sync::Arc;๐use std::sync::Mutex;๐use arti_client::config::onion_service::OnionServiceConfig;๐use arti_client::config::onion_service::OnionServiceConfigBuilder;๐use futures::StreamExt as _;๐use tor_config::ConfigBuildError;๐use tor_config::Flatten;๐use tor_config::Reconfigure;๐use tor_config::ReconfigureError;๐use tor_config::define_list_builder_helper;๐use tor_config::impl_standard_builder;๐use tor_error::warn_report;๐use tor_hsrproxy::OnionServiceReverseProxy;๐use tor_hsrproxy::ProxyConfig;๐use tor_hsrproxy::config::ProxyConfigBuilder;๐use tor_hsservice::HsNickname;๐use tor_hsservice::RunningOnionService;๐use tor_rtcompat::Runtime;๐use tor_rtcompat::SpawnExt;๐use tracing::debug;๐use crate::reload_cfg::ReconfigurableModule;๐
Structsยง
- Onion
Service Proxy Config - Configuration for running an onion service from
arti. - Onion
Service Proxy Config Builder - Builder object to construct an
OnionServiceProxyConfig. - Onion
Service Proxy Config MapBuilder - Wrapper struct to help derive_builder find the right types and methods
- Proxy ๐
- A running onion service and an associated reverse proxy.
- Proxy
Set ๐ - A set of configured onion service proxies.
Functionsยง
- build_
list ๐ - Construct a
OnionServiceProxyConfigMapfrom aVecofOnionServiceProxyConfig; enforce thatHsNicknames are unique.
Type Aliasesยง
- Onion
Service ๐Proxy Config Map - Alias for a
BTreeMapofOnionServiceProxyConfig; used to makederive_builderhappy. - Proxy
Builder ๐Map - The serialized format of an
OnionServiceProxyConfigMapBuilder: a map fromHsNicknametoOnionServiceConfigBuilder.