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 a non-forgeable
current-generation browser-bridge authorization from hns-dane-engine
before an exact-host tunnel grant can be issued. Socket accept loops, 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-origin DANE authorization.
- Proxy
Authorization - Per-instance loopback proxy capability.
- Proxy
Config - One proxy instance configuration.
- Proxy
Limits - Deterministic proxy resource bounds.
- Proxy
Session - Platform-neutral authenticated proxy admission state.
- Tunnel
Grant - Exact-host backend permission issued after engine DANE authorization.
Enums§
- Proxy
Error - Proxy configuration, request, runtime, or bridge failure.
Constants§
- 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.
- PROXY_
AUTHENTICATE_ HEADER - HTTP proxy authentication challenge header.
- PROXY_
AUTHORIZATION_ HEADER - HTTP proxy authorization header.