Skip to content

History

Revisions

  • Wiki: F-swift-line-security-05b implemented (public unidirectional-stream API + post-establishment demux)

    @Pummelchen Pummelchen committed Sep 15, 2026
    2d8ff0f
  • Wiki: audit 2026-09-15 CLOSED — 105 entries terminal, interop restored 7/7, coverage recorded

    @Pummelchen Pummelchen committed Sep 15, 2026
    9c0e055
  • Wiki: audit 2026-09-15 rounds 2-6 — 98 fixed, one BLOCKED interop re-run, Phase E status

    @Pummelchen Pummelchen committed Sep 15, 2026
    6dd7657
  • Wiki: pre-production audit 2026-09-15 — Phase A baseline and the S0 Swift 6.4 link failure

    @Pummelchen Pummelchen committed Sep 15, 2026
    872feb9
  • Tracker: the second fix batch, and WT-215 filed for the draft-16 client token

    @Pummelchen Pummelchen committed Sep 14, 2026
    8cbd6bc
  • Tracker: three adversarial C99 audits and the fix round (WT-202 to WT-214)

    @Pummelchen Pummelchen committed Sep 14, 2026
    75e8aa1
  • Tracker: WT-199 and WT-200 CLOSED -- the Windows receive is the documented call, and the tree runs 85 of 85 under Wine

    @Pummelchen Pummelchen committed Sep 14, 2026
    666f7a2
  • Tracker: WT-134 CLOSED -- the FreeBSD leg is measured, and it found a harness bug FreeBSD 15.1-RELEASE-p3 under QEMU/TCG builds the tree with its base clang and passes 96 of 96 CTest tests, including the ten that spawn both CLI tools over a real socket. With Windows compiling, linking and now running under Wine, Phase 12 stands measured on all four platforms; what is absent is a CI job for the last two, which GitHub does not offer. The first FreeBSD pass failed 8 of 96 and none of it was the protocol: the check scripts parse the tools' JSON reports with python3, which FreeBSD does not ship in base, so a missing interpreter read as "a report is not valid JSON" while the sessions themselves had worked. pkg install python3 and all ten pass. Filed as WT-201. Also repaired a stray blank line that had split the master table in two since WT-135 was added, and got a shell in the guest at all only via the serial console -- the NoCloud seed set the hostname and nothing else -- which is now written down as the recipe.

    @Pummelchen Pummelchen committed Sep 13, 2026
    9e794cf
  • Tracker: WT-135 CLOSED -- Phase 11 is seven of seven across five implementations The plan's aggregate is now the measured output of the runner, reproduced by two independent full runs with every proof passing on its FIRST attempt: testedImplementationCount = 5 passedProofCount = 7 requiredProofCount = 7 allPassed = true Every proof runs with --trust system against a CA-issued certificate, so the chain is validated against the platform trust store and the name is checked -- which is what separates this from the container matrix, and only possible because --trust was made to mean something (WT-193). WT-198 closes with it. Three things had to be true that were not, and none was in this client: two peers needed patches kept under tests/interop/peer/, and the third was a capacity rather than a defect -- erlang-webtransport stops accepting after a couple of sessions, so the runner now starts peers fresh per proof, which also removed the container-bridge flakiness that had been forcing retries. C99/README.md carries the table the plan asks for, and every WT- row is six fields again: the WT-198 rewrite had left an orphaned tail as a seventh, which would have broken the table's rendering.

    @Pummelchen Pummelchen committed Sep 13, 2026
    97a41d3
  • Tracker: the erlang datagram blocker is traced to the line Our client sends its datagram and closes, so the session drains. The peer's echo_server DOES echo -- handle_datagram/2 returns {send_datagram, Response} -- but by then the QUIC connection is draining, and the quic dependency's generic catch-all replies {error,{invalid_state,StateName}} to any call it does not handle in that state. The peer's action dispatch does not tolerate that reply, so the session state machine terminates and every later attempt fails, which is why the stream proof passes only against a fresh peer. The fix is in the peer and is small: a failed datagram send must not be fatal, because a datagram is unreliable by definition and losing one during drain is expected. Recorded rather than patched -- the round's budget went to making the other two peers work, which took the matrix from four of seven to six.

    @Pummelchen Pummelchen committed Sep 13, 2026
    5048530
  • Tracker: six of seven Phase 11 proofs, and both peer fixes are now patches in this repo The matrix stands at 6 of 7 across all five implementations. The two blockers that were "the peer's fault" were both fixable and both fixes are peer patches kept here: patch-erlang-chain.py (the chain has to ride inside quic_opts) and patch-quinn-datagram.py (vendors web-transport-quinn to set datagram_receive_buffer_size where the endpoint is built, since ServerBuilder has no setter). The runner retries a proof, and the addendum records why that is a measurement rather than a convenience: over a container bridge the same peer answers about two attempts in five -- ok, timeout, timeout, ok, timeout -- so one attempt is a verdict on a datagram's luck. The retry is bounded and every proof records how many attempts it took. What is left is erlang's datagram path taking the peer down with {error,{invalid_state,draining}}, which its own echo_server does handle, so the defect is in how the session reaches that state rather than in a missing handler.

    @Pummelchen Pummelchen committed Sep 13, 2026
    2d87e19
  • Tracker: the FreeBSD environment is known -- TCG-only, but it boots Measured rather than assumed. The VPS has no nested virtualization: /dev/kvm does not exist and /proc/cpuinfo carries neither vmx nor svm, so QEMU is TCG-only. But a FreeBSD 15.1-RELEASE amd64 image is already cached at /root/.cache/xaios/freebsd, and booting it through a qcow2 overlay (the cached image untouched) reaches a login prompt on ttyu0 in about seven minutes. So the FreeBSD leg is reachable here rather than blocked. What it needs is a dedicated round for a TCG-paced toolchain install, build and full test run -- hours of emulated work, not a missing capability.

    @Pummelchen Pummelchen committed Sep 13, 2026
    50deabc
  • Tracker: the Windows tree RUNS under Wine, and running it found two defects (WT-134, WT-199, WT-200) WT-134 gets its first master-table row, and the Windows half is now measured further than compiling and linking can reach: check-windows-wine.sh runs every linked test binary through Wine -- 84 ran, 82 passed, 2 failed, 0 hung, 89,099 checks reported. The two failures are filed as WT-199 and WT-200. test_runtime_udp fails the WT-36 datagram-truncation contract on the _WIN32 socket branch, which compiled, linked and was reasoned about correctly in PORTABILITY.md and had simply never run. test_quic_connection fails two Retry assertions. Neither is fixed here: a fix without a Windows target to re-run it on would be a guess, and Wine is not Windows. The addendum also records the three setup facts that cost a session, and that the ten-minute hang the previous attempt reported on test_webtransport_buffered.exe is gone -- it now finishes in under a second and passes its 98 checks. What is still owed is a real Windows runner and any FreeBSD runner at all.

    @Pummelchen Pummelchen committed Sep 13, 2026
    21ac896
  • Tracker: quinn's datagram blocker is in the crate's API, not its configuration Checked against the crate source rather than inferred: web-transport-quinn 0.11.9's ServerBuilder exposes only new/with_addr/with_congestion_control/with_certificate, and with_certificate builds quinn::ServerConfig::with_crypto and hands it to quinn::Endpoint::server, so the transport config is quinn's default and datagram_receive_buffer_size is never set. There is no setter for it in that version, so enabling datagrams means patching the crate or bypassing ServerBuilder.

    @Pummelchen Pummelchen committed Sep 13, 2026
    82d8d2c
  • Tracker: restore the WT-198 row's closing pipe The row was left with six pipes and no terminator, which would have merged its Notes into whatever followed it. Every WT- row is six fields again.

    @Pummelchen Pummelchen committed Sep 13, 2026
    32ffd5e
  • Tracker: the erlang peer chain is fixed and the remaining two proofs are peer faults C99/tests/interop/peer/patch-erlang-chain.py patches erlang-webtransport's h3 listener to send its certificate chain, and records why the obvious fix does nothing: the chain has to ride inside quic_opts, because quic_h3 lifts only cert/key/cacerts from the top level and merges quic_opts last. The first attempt put it at the top level and openssl still reported a single-entry chain, which is how the drop was found. With the patch, openssl reports depth=0..3 and Verify return code 0 (ok), and the erlang stream proof passes. What remains is two datagram proofs and both are peer faults: quinn never advertises QUIC DATAGRAM, and erlang takes itself down on the datagram path with {error,{invalid_state,draining}}, which is why its stream proof passes only against a fresh peer. Five of seven on a fresh peer set. Nothing in this tree is implicated -- the h3 datagram proof exercises our client's datagram path and passes.

    @Pummelchen Pummelchen committed Sep 13, 2026
    f9c6213
  • Tracker: WT-195 closed, WT-198 filed -- the Phase 11 runner exists and the blockers are named The seven Phase 11 proofs now run from C99/scripts/run-vps-third-party-interop.sh and emit the plan's aggregate by counting the proof files. Running it reproduced the manual result: 4 of 7 across 5 implementations. The Caddy certificate store turns out to hold full chains with private keys, so a parallel peer set was stood up in this session's own space without touching the running containers. That removes "the peers cannot be restarted" as the reason for WT-196: the existing set expires, but new peers can be run whenever they are needed. Reproducing the erlang failure against a peer with a real fullchain proved the configuration was never the problem -- read_cert_file/1 keeps only the first certificate and the QUIC listener passes a bare cert, so no fullchain file can fix it. WT-198 records both remaining blockers, erlang's leaf-only chain and quinn's missing datagram advertisement, as peer defects with their measurements.

    @Pummelchen Pummelchen committed Sep 13, 2026
    c66a36e
  • Tracker: WT-197 filed -- the raw framework error still escapes through the stream queues CI on df6d03d failed the TSan job on listenerServesMoreSequentialSessionsThanTheDefaultCeiling with POSIXErrorCode 57, after WT-185 was closed. That is the useful part: WT-185 named the error at waitForReady and that path works, so the fix was incomplete rather than wrong. The remaining escapes are the connection queue's dequeue and the inbound stream collector's next, both of which rethrow whatever the framework handed them. The audit of WT-185 predicted this and the commit documented it; CI has now shown it is not only theoretical.

    @Pummelchen Pummelchen committed Sep 13, 2026
    6b0840a
  • Tracker: the VPS matrix is reachable and running it found a remote crash (WT-135, WT-193, WT-194) The handover called WT-135 infrastructure-bound. It was not: the five peers were already built and running on the VPS under /opt/wt-interop, up four weeks, behind a Let's Encrypt certificate. This session did not know that until it looked, which is the argument for checking before believing an infrastructure claim. Two defects came out of the first real run. WT-193: `--trust system` was the CLI's own default and the session loop ignored it, so the client always took the loopback bypass while reporting that it had not. WT-194, and this one is P0: PING, CRYPTO, NEW_TOKEN, DATA_BLOCKED and STREAMS_BLOCKED shared the PATH_CHALLENGE case label, so a peer that sent any of them had its union bytes read as a challenge pointer -- a remotely triggerable SIGSEGV, and the reason the client crashed against quinn, quiche and h3 while pywebtransport, which sent no PING, worked. Four of the seven proofs now pass, three of them having crashed before. The remaining three are blocked on the peers rather than on this tree, and both blockers are recorded with their measurement: erlang serves a leaf-only chain (openssl says so for the same leaf pywebtransport serves correctly), and the quinn peer never advertises max_datagram_frame_size. WT-195 filed: the plan's Phase 11 runner script is still owed, so the matrix is not yet reproducible from the repository. WT-196 filed and urgent: those peers run on a certificate that expires 18 September 2026 and their certificate files no longer exist on the host, so they cannot be restarted or renewed.

    @Pummelchen Pummelchen committed Sep 13, 2026
    beb00a3
  • Tracker: WT-185, WT-186 and WT-192 closed, WT-191 filed, and the errno record corrected WT-185 closed at b1b48bb and WT-186 at 22d4ec2, both on main. Both rows are added to the master "Open work" table with their STATUS values, which they never had: they were filed in an addendum and a handover section only, so nothing that greps the table could see them — the same failure mode the STATUS column was added for (WT-174). The WT-185 row is corrected rather than quietly restated. It was filed naming one errno (ENETDOWN) and two occurrences; the CI logs hold two errnos (ENETDOWN 50 and ENOTCONN 57) and three occurrences, and the tag's failure was in the plain macOS job rather than in TSan. That table is in the closing addendum, because it is what changed the shape of the fix: not one errno to special-case, and not a test problem at all — waitForReady rethrew NetworkConnection.State.failed verbatim. The addendum also records the finding that matters most: an adversarial audit of the fix showed it was inert. NWError.posix bridges to NSError under "Network.NWError", not NSPOSIXErrorDomain, so the predicate would never have matched a real failure and the flake would have returned with a green suite saying otherwise. WT-192 is filed for the same flaw in isTransientNotConnected, which had made the ENOTCONN retry in openBidirectionalStream dead code, and both are closed in b1b48bb. Four smaller audit findings — the accept budget, the skip marker, publicDescription, and three comments that claimed more than the code did — are recorded too. WT-186 closed with its skip behaviour and exit statuses, verified on the built binaries in both directions. WT-191 filed and left open: pkcs12WithRSAIdentityStillResolvesAfterTheExceptionBoundary fails on this development host with OSStatus -26276, deterministically and in isolation. Proven pre-existing (identical on a clean 0bb6c95 worktree, fixtures intact), and it is why the local suite is 307 of 308 and 286 of 287 under TSan. Recorded, not fixed: the cause is not established and the row is host-specific. Known-Limitations, Implementation-Status, Changelog and Release-and-Interoperability are updated to match. The Release page keeps the 1.3.8 figure as the record of what was verified at that tag, with a correction note beside it.

    @Pummelchen Pummelchen committed Sep 13, 2026
    9d50808
  • Tracker: session handover -- the state, the evidence, and the four things the next session starts with The session moved machines, so the tracker now ends with a handover section: the five commits this session landed on main and what each closed (WT-184, WT-186's documentation half, WT-187, WT-180 with WT-188, and WT-189 with WT-190), the published Swift 1.3.8 release and how it was verified, the measured state of the C99 tree (96 CTest tests, 91,552 checks, three build trees, analyzer and cppcheck clean on macOS and clean under Debian/glibc, Windows compiles and links 90 PE32+ executables, container interop against three peers, 34 of 34 matrix rows with 67 symbols, CI green on both workflows for the last commit), and the environment facts a fresh clone needs. Open work, in the order to take it: WT-185 (the ENETDOWN flake, now REPEATED -- twice in one session, once on the tag's first CI attempt and once in the TSan job of the last push -- so it is P2 and actionable, with the shape of the fix noted); WT-186's code half (a "skipped" notion in the conformance runner); the Windows-under-Wine experiment, which was STARTED AND UNFINISHED and is written up with the exact recipe and the point it hung at, so the next session can pick it up or record it as a demonstrated blocker; and the two host-dependent DoD partials.

    @Pummelchen Pummelchen committed Sep 13, 2026
    92a9784
  • Tracker: WT-189 closed the same round it was filed, and WT-190 with it WT-189: the section 4.6 parking path is now reachable from the tools. The start of a session is split so a caller can open the request stream (which is what makes the session ID known), send a data stream or datagram naming it, and only then write the CONNECT -- the single flight the draft describes. `--early-stream` is the CLI's version of that, the flag is refused on a listener, and two CTest runs assert the server delivered what arrived before its session, in both exchange modes. WT-190: the server's report said requestStatus 404 for a session it called accepted and established, because the validator leaves its default rejection in a field that only means something for a rejection. It is 0 for an acceptance now. Implementation Status carries the counts: 96 CTest tests, 91,552 checks.

    @Pummelchen Pummelchen committed Sep 13, 2026
    aa9ff26
  • Tracker: WT-180 closed (section 4.6's stream half), WT-188 found and fixed, WT-189 filed The datagram half of section 4.6 landed in WT-179; the stream half is now in the same object, so one owner holds the rule for both: park until the session is known, bound what is parked, drain in arrival order delivering this session's items and dropping the rest, reject a stream over the bound with WT_BUFFERED_STREAM_REJECTED (the frame the section names) and drop a datagram over it (unreliable by definition). The driver remembers the session a peer's stream prefix named -- including a unidirectional one, which was not in its data-stream table at all -- and rejects one stream with the section's "and/or" applied to the stream's class. WT-188 is the defect that work surfaced: wt_quic_connection_stop_sending's direction test was inverted, refusing the peer's unidirectional stream (the case the frame exists for) and allowing this endpoint's own (a STREAM_STATE_ERROR at a conforming peer). P2, closed in the same commit, because the failure mode is a connection error and section 6's own abort was silently skipping those streams. WT-189 is filed for the one thing still missing: no CLI act reaches the parking window deterministically, because this tree's client sends its CONNECT first. The behaviour is proven instead by test_runtime_session_pair over a real pair, in the only order that reaches it. Implementation Status carries the new counts: 94 CTest tests, 84 programs, 91,536 checks, 94 sources under the analyzer, and a matrix of 34 of 34 draft-16 rows.

    @Pummelchen Pummelchen committed Sep 13, 2026
    10ba760
  • Tracker and wiki: the C99 CI is green on every leg for the first time, and the wiki carries 1.3.8 everywhere WT-84's shape repeated for WT-86: the issue #24 fix is now marked released as 1.3.8 rather than "in the unreleased section". The WT-187 entry records the run that closes it -- C99 CI 34756470787, all three legs green including the analyzer, cppcheck and both Windows steps, the first fully green C99 CI in this series. The wiki's own release references move to 1.3.8: the sidebar link, the Home page baseline row, the Getting Started pin, the Changelog entry for the fix, the release-evidence paragraph (the tag-dispatched run and why it was needed), and Implementation Status's note that the lower-level libraries are unchanged. Release and Interoperability, Implementation Status and Known Limitations already carry the published sums, the verification and the stated interop boundary.

    @Pummelchen Pummelchen committed Sep 13, 2026
    7bdf6c1
  • Tracker: 1.3.8 is published (WT-101), and the four findings its release round produced (WT-184, WT-185, WT-186, WT-187) WT-101 is closed: the release is public, the CI run of the tagged revision is green (34755613646, dispatched on the tag because the push-triggered run for 13d29fd was cancelled by the workflow's own concurrency group rather than starved by a backlog, which is what the row used to say), the assets are uploaded and verified against SHA256SUMS, and both conformance suites pass on the downloaded binaries. The interop boundary is stated as 1.3.5, the revision the containerized matrix was last run against. WT-184 closed: the Linux legs of the analyzer gate found seven core.NonNullParamChecker findings that macOS cannot see, all of them a NULL with a zero length at an entry point that accepts it; each call is guarded now and the four paths have tests. WT-187 closed: with WT-184 out of the way the Linux job reached the Windows step for the first time and it failed -- a cross-compile handed `-I /usr/include` resolved stdint.h to the host's glibc. The CI job now unpacks the Windows OpenSSL before the compile step and the script's host fallback uses `-idirafter`. WT-185 filed: the tag's first CI attempt failed the listener ceiling test with ENETDOWN and passed on rerun. WT-186 filed: the published binaries' `--scenario all` fails two source-tree scenarios outside a checkout, which is what the README used to instruct; the documentation half is closed, the skip notion in the runner is not. Release and Interoperability, Implementation Status and Known Limitations carry the same facts, and the counts move to 300 Swift tests and 91,326 C99 checks.

    @Pummelchen Pummelchen committed Sep 13, 2026
    4c029dc
  • Tracker: WT-182 closed (a terminated session resets its streams); counts to 91,312

    @Pummelchen Pummelchen committed Sep 13, 2026
    9f762d3
  • Tracker: WT-181 closed (the error-code mapping), WT-182 filed for section 6's resets, WT-183 for the probe trap

    @Pummelchen Pummelchen committed Sep 13, 2026
    28a19a2
  • Tracker: WT-179's parking rule recorded, the set -e trap, and WT-180 filed for section 4.6's stream half

    @Pummelchen Pummelchen committed Sep 13, 2026
    d2ab900
  • Tracker: WT-179 closed (a datagram for another session was delivered) and the audit lesson recorded

    @Pummelchen Pummelchen committed Sep 13, 2026
    385f0a6
  • Tracker: WT-178 closed (the session's release path, documented and tested)

    @Pummelchen Pummelchen committed Sep 13, 2026
    051eeb4