Files
piik/prototype
T
AAA 6294416ed0 fix(nat): use measured endpoints with partial mapping evidence
A socket mapped to two different ports can use the existing pool against a peer with a measured endpoint. Equal partial replies stay unclassified; that peer can search from its retained socket without declaring a stable NAT. Sequential prediction still needs three replies and keeps its bounded alternate. The shared Core/Native configuration gate now admits two distinct STUN authorities.

Uses current-destination observations in the scope described by RFC 5780 and the existing authenticated, bounded preparation model. The original two-response role experiment delivered SCTP and decoded VP8 in 8/8 controlled kernel-NAT trials versus 0/8 baseline trials. The final measured-endpoint plan passed actual two-response and single-response media controls, an exhausted-budget negative control with all UDP ports released, and the sequential alternate control. Windows and Linux preparation checks, 348 SQLite Core tests, both Web type checks and focused WASM/Session consumers pass.

Existing socket, packet, concurrency and time budgets remain. An unknown endpoint can consume its bounded attempt without succeeding, and an irregular/sequential pairing no longer makes the earlier measured-target attempt. Ordinary ICE is retained. This is topology-specific evidence, not a public-network success rate; beta.63 stays frozen before this change.
6294416ed0 · 2026-11-28 02:26:09 -05:00
History
..