Module proxy
Available on crate features
quic and std only.Expand description
QUIC interception: inspect an association’s Initial flight, then forward it untouched or terminate it and relay the established connections.
Structs§
- Admission
Stats - What a
QuicAssociationAdmissionrefused, and how inspection of admitted associations ended when it was refused too, since it was created. - Association
Key - The addresses an association is fixed to. Its egress target is not part of it: other targets do not make the same incoming datagrams distinguishable.
- Association
Limits - Bounds applied before any datagram of an association is inspected. A source is an IPv4 address or an IPv6 /64.
- Association
Permit - An admitted association. Dropping it releases its slot and quarantines its addresses; its start stays counted.
- Input
With Quic Client Hello - The input handed on after a complete QUIC ClientHello was found in the client’s Initials.
- NoQuic
Reject Error - The fallback’s default rejection: the association carried no complete QUIC ClientHello.
- Peek
Quic Client Hello Service - Inspects the first datagrams of a UDP association for a QUIC client’s Initial flight and its ClientHello, then hands the association on with those datagrams replayed in front.
- Quic
Admission Layer - Admits each association before its inner service, usually a
PeekQuicClientHelloService, inspects it, and holds the permit until that service is done. - Quic
Admission Service - The service a
QuicAdmissionLayerproduces. - Quic
Association Admission - Admission shared, by cloning, by every producer and listener of one policy domain.
- Quic
Mirror Ceiling - What a mirrored client may make the relay hold on its egress connection
(
QuicMitmRelay::with_mirror_client): larger receive windows and stream counts are lowered to these, and the change is traced. - Quic
Mitm Relay - Terminates a QUIC association whose ClientHello was peeked, using the egress socket the producer prepared for its origin: the QUIC counterpart of the TLS MITM relay.
- Quic
Mitm Relay Service - The service a
QuicMitmRelaylayer produces. - Quic
Peek Fallback Policy - Which
QuicPeekRejections reach the fallback; any other fails the association withQuicPeekRejectedError. - Quic
Peek Rejected Error - An association refused because its peek ended in a class the fallback policy does not admit.
- Quic
Relay - Relay dedicated QUIC connections through Rama’s ordinary service boundary.
Enums§
- Admission
Error - Why an association was not admitted. A refusal consumes no slot and no start.
- Quic
Peek Rejection - Why a peek found no complete QUIC ClientHello. The fallback finds it in its input’s extensions.
Constants§
- DEFAULT_
QUIC_ MITM_ HANDSHAKE_ TIMEOUT - The default for
QuicMitmRelay::with_handshake_timeout. - DEFAULT_
QUIC_ PEEK_ TIMEOUT - The default for
PeekQuicClientHelloService::with_peek_timeout: one handshake flight over a slow path, short enough that a silent client cannot hold an inspection open.