Skip to main content

Crate wafrift_proxy

Crate wafrift_proxy 

Source
Expand description

Library surface for wafrift-proxy.

The binary entry point lives in main.rs; this lib module exposes the building blocks downstream consumers (the bench harness, integration tests, third-party Rust code that wants the evasion proxy as a library) need.

Modules§

hop_by_hop
Hop-by-hop headers (RFC 7230 §6.1) must not be blindly forwarded through proxies.
mitm
MITM (Man-in-the-Middle) functionality for HTTPS interception.
rate_limit
Per-host token-bucket rate limiter.
scope
Per-request scope filtering for the proxy.
tui
Terminal dashboard for wafrift-proxy.
upstream
Unified upstream HTTP client for wafrift-proxy.
upstream_policy
Upstream destination policy: literal-IP bogons and DNS SSRF-style checks.

Functions§

extract_host_from_header
Extract the host from a Host header, handling IPv6 bracket notation and bare IPv6 literals.