Expand description
Authenticated exact-origin loopback proxy admission.
This crate owns the platform-neutral boundary in front of a native browser
proxy. It admits only strict loopback CONNECT requests carrying one
per-instance Basic capability, then requires an atomically published,
current-generation hns_dane_engine::ProviderAuthorityContext before an
exact-origin tunnel grant can be issued. Socket accept loops, DNS wire I/O,
origin dialing, local CA storage, and TLS I/O remain native-host adapter
responsibilities.
Structs§
- Host
Scope - Immutable HNS TLD scope.
- Loopback
Endpoint - Numeric loopback endpoint; hostnames and wildcard binds are impossible.
- Normalized
Host - Strict lowercase ASCII DNS host.
- Pending
Connect - Opaque authenticated CONNECT awaiting exact provider-authority admission.
- Proxy
Authorization - Per-instance loopback proxy capability.
- Proxy
Config - One proxy instance configuration.
- Proxy
Instance Identity - Native-process and listener lifecycle identity for replay isolation.
- Proxy
Limits - Deterministic proxy resource bounds.
- Proxy
Session - Platform-neutral authenticated proxy admission state.
- Published
Admission - Opaque handle to one atomically published provider authority.
- Tunnel
Grant - Short-lived, single-CONNECT exact-origin permission.
Enums§
- Proxy
Error - Proxy configuration, request, runtime, or provider-publication failure.
Constants§
- DEFAULT_
MAXIMUM_ GRANT_ LIFETIME_ SECONDS - Default maximum lifetime of one issued tunnel grant, in seconds.
- DEFAULT_
MAXIMUM_ HEADERS - Default maximum header fields.
- DEFAULT_
MAXIMUM_ HEAD_ BYTES - Default maximum CONNECT head bytes.
- DEFAULT_
MAXIMUM_ PENDING - Default maximum simultaneous pending CONNECT admissions.
- DEFAULT_
MAXIMUM_ PENDING_ LIFETIME_ SECONDS - Default lifetime of one pending CONNECT admission, in seconds.
- DEFAULT_
MAXIMUM_ PUBLICATIONS - Default maximum simultaneously published provider authorities.
- DEFAULT_
MAXIMUM_ PUBLICATION_ LIFETIME_ SECONDS - Default maximum lifetime of one in-memory publication, in seconds.
- MAXIMUM_
GRANT_ LIFETIME_ SECONDS - Hard maximum lifetime of one issued tunnel grant, in seconds.
- MAXIMUM_
PENDING_ LIFETIME_ SECONDS - Hard maximum lifetime of one pending CONNECT admission, in seconds.
- PROXY_
AUTHENTICATE_ HEADER - HTTP proxy authentication challenge header.
- PROXY_
AUTHORIZATION_ HEADER - HTTP proxy authorization header.