pub struct TlsConfig {
pub enabled: bool,
pub intercepted_ports: Vec<u16>,
pub bypass: Vec<String>,
pub verify_upstream: bool,
pub block_quic_on_intercept: bool,
pub ca: CaConfig,
pub cache: CertCacheConfig,
}Expand description
TLS interception configuration.
Fields§
§enabled: boolWhether TLS interception is enabled.
intercepted_ports: Vec<u16>TCP ports subject to TLS interception (default: [443]).
bypass: Vec<String>Domains to bypass (no MITM). Supports exact match and *.suffix wildcards.
verify_upstream: boolWhether to verify the upstream server’s TLS certificate.
block_quic_on_intercept: boolDrop UDP to intercepted ports when TLS interception is active, forcing QUIC traffic to fall back to TCP/TLS.
ca: CaConfigCertificate authority configuration.
cache: CertCacheConfigPer-domain certificate cache configuration.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TlsConfig
impl<'de> Deserialize<'de> for TlsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TlsConfig
impl RefUnwindSafe for TlsConfig
impl Send for TlsConfig
impl Sync for TlsConfig
impl Unpin for TlsConfig
impl UnsafeUnpin for TlsConfig
impl UnwindSafe for TlsConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more