Add M10.2b bounded QUIC channels with exact CA pinning
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m47s
Foundation / checks (network) (push) Successful in 8m11s
Foundation / checks (client) (push) Successful in 12m20s
Foundation / checks (tsan) (push) Successful in 7m44s
Foundation / checks (checks) (push) Successful in 31m12s
Foundation / checks (postgres) (push) Successful in 33m27s
Foundation / image (push) Successful in 2m14s
Foundation / postgres-tools (push) Successful in 6m24s
Foundation / server-image (push) Successful in 18m6s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m47s
Foundation / checks (network) (push) Successful in 8m11s
Foundation / checks (client) (push) Successful in 12m20s
Foundation / checks (tsan) (push) Successful in 7m44s
Foundation / checks (checks) (push) Successful in 31m12s
Foundation / checks (postgres) (push) Successful in 33m27s
Foundation / image (push) Successful in 2m14s
Foundation / postgres-tools (push) Successful in 6m24s
Foundation / server-image (push) Successful in 18m6s
evo_network_quic wraps msquic in a single-owner Endpoint: newest-wins datagram channel and one length-framed reliable stream, both bounded, with explicit close causes. The client pins exactly one CA and name with an owned Mbed TLS check that is the sole authority (OpenSSL's verdict advisory), callbacks never call msquic under the lock, and MinimumMtu starts at 1280 so 1,200-byte datagrams fit minimum paths. An owned seeded UDP impairment relay drives loss, duplication, reordering, corruption, MTU and outage tests, passing on MSVC, GCC and Clang ASan/UBSan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4039,3 +4039,36 @@ explicitly). Security finding recorded in ADR-0090: OpenSSL's built-in verificat
|
||||
trusts its default verify paths; exact pinning is 10.2b work.
|
||||
Not done: bounded channels, impairment relay, loss/HOL measurements, CI integration of
|
||||
the quic preset, sanitizer builds of msquic, packaging of msquic.dll.
|
||||
|
||||
|
||||
## 2026-10-03 — M10.2b bounded QUIC channels, exact pinning, impairment relay (ADR-0090)
|
||||
|
||||
Implemented `evo_network_quic` (Endpoint, MessageReassembler, framing),
|
||||
`evo_network_impair` (UdpRelay) and `evo-quic-transport-tests` (label `quic`).
|
||||
Tests: framing with 2,000 random-length messages under random chunking, oversized
|
||||
frame refusal, empty messages; 100 ordered messages each way, datagrams each way, local
|
||||
size limits, unknown connection, outbound reliable budget (busy), peer protocol
|
||||
violation closing the connection; exact pinning (attacker CA via `SSL_CERT_FILE`
|
||||
refused, genuine server still accepted with that environment, wrong name refused);
|
||||
impairment through the relay (10 % loss, 10 % duplication, 20 % reordering, 5 %
|
||||
corruption, 5 ms + 0-10 ms jitter both ways): 200/200 messages exactly once in order,
|
||||
datagrams never duplicated and partly lost (262-290 of 300 across runs); 1,252-byte UDP
|
||||
path: 1,200-byte datagrams and 1,100-byte messages cross it (6 larger PMTUD probes
|
||||
dropped); total outage: both sides idle-closed after about 1.3 s (1 s idle timeout);
|
||||
bounds: newest-wins datagram queue (at most 4 kept), connection cap refusal, reliable
|
||||
inbound overflow closing as overloaded; 500 random UDP datagrams at the listener produce
|
||||
no events and a genuine client still connects; clean local/peer close.
|
||||
|
||||
Found and fixed during development: a possible deadlock (msquic calls under our lock;
|
||||
callbacks can run inline), OpenSSL's issuer lookup failing a genuine server when another
|
||||
same-named CA was in `SSL_CERT_FILE` (owned pin made authoritative), msquic's 1,288-byte
|
||||
default MTU exceeding a 1,280-byte path (MinimumMtu 1280), a flaky coverage assertion
|
||||
(2 % corruption could produce none), two test bugs found by UBSan/assertions, Windows
|
||||
`NOMINMAX`/`<array>` portability, and clang-tidy findings.
|
||||
|
||||
Executed: Linux GCC 14 preset `quic` CTest 3/3 and transport tests 5/5 repeated runs;
|
||||
Clang 19 ASan/UBSan (Debug, leak detection) transport tests; clang-tidy on endpoint,
|
||||
relay and tests; format check; Windows MSVC 19.44 preset `quic` 3/3 and transport tests
|
||||
5/5 repeated runs.
|
||||
Not done: loss/head-of-line measurements and TCP comparison (10.2c), msquic itself under
|
||||
sanitizers, CI integration of the quic preset, integration into the region host/client.
|
||||
|
||||
Reference in New Issue
Block a user